share/templates

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Sat Aug 24 18:45:43 CEST 2013


 share/templates/roundcubemail/kolab_files.inc.php.tpl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5f76c88df172452a1947819b1a1ad872543649b6
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Sat Aug 24 18:45:31 2013 +0200

    Escape the $ in $_SERVER with a \

diff --git a/share/templates/roundcubemail/kolab_files.inc.php.tpl b/share/templates/roundcubemail/kolab_files.inc.php.tpl
index effa1d9..1c5fced 100644
--- a/share/templates/roundcubemail/kolab_files.inc.php.tpl
+++ b/share/templates/roundcubemail/kolab_files.inc.php.tpl
@@ -1,7 +1,7 @@
 <?php
 
 // URL of kolab-chwala installation
-\$config['kolab_files_url'] = 'http://' . $_SERVER['HTTP_HOST'] . '/chwala/';
+\$config['kolab_files_url'] = 'http://' . \$_SERVER['HTTP_HOST'] . '/chwala/';
 
 // List of files list columns. Available are: name, size, mtime, type
 \$config['kolab_files_list_cols'] = array('name', 'mtime', 'size');




More information about the commits mailing list