[Kolab-devel] [PATCH] $PHP_SELF -> $_SERVER['PHP_SELF']

Andreas Hasenack andreas at conectiva.com.br
Thu Aug 18 19:39:23 CEST 2005


-------------- next part --------------
--- kolab-webadmin-0.4.9-20050812/www/admin/user/index.php.orig	2005-08-18 14:19:38.000000000 -0300
+++ kolab-webadmin-0.4.9-20050812/www/admin/user/index.php	2005-08-18 14:19:59.000000000 -0300
@@ -164,7 +164,7 @@
 $smarty->assign( 'uid', $auth->uid() );
 $smarty->assign( 'group', $auth->group() );
 $smarty->assign( 'page_title', $menuitems[$sidx]['title'] );
-$smarty->assign( 'self_url', $PHP_SELF );
+$smarty->assign( 'self_url', $_SERVER['PHP_SELF'] );
 
 $smarty->assign( 'filterattrs', array( 'cn'   => _('Name'),
 									   'mail' => _('Email'),
--- kolab-webadmin-0.4.9-20050812/www/admin/addressbook/index.php.orig	2005-08-18 14:19:46.000000000 -0300
+++ kolab-webadmin-0.4.9-20050812/www/admin/addressbook/index.php	2005-08-18 14:20:13.000000000 -0300
@@ -116,7 +116,7 @@
 $smarty->assign( 'uid', $auth->uid() );
 $smarty->assign( 'group', $auth->group() );
 $smarty->assign( 'page_title', $menuitems[$sidx]['title'] );
-$smarty->assign( 'self_url', $PHP_SELF );
+$smarty->assign( 'self_url', $_SERVER['PHP_SELF'] );
 
 $smarty->assign( 'filterattrs', array( 'cn'   => _('Name'),
 									   'mail' => _('Email') ) );
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20050818/20748a76/attachment.sig>


More information about the devel mailing list