eon
12-22-2005, 07:21 PM
When you want to generate an "admin_main_menu" the function "eval_addon_admin_workspace_menu" use $PHP_SELF to generate the begin of the link (example: /admin/index.php).
But it can't find $PHP_SELF, so it gives the error:
Notice: Undefined variable: PHP_SELF in C:\webroot\pixelpost_1-5_beta1\includes\functions.php on line 455
Now the url of the link will be (see sourcecode):
<a href='?view=NEWITEM'>NEWITEM</a>
but this is what you want:
<a href='/admin/index.php?view=NEWITEM'>NEWITEM</a>
I think it is not a problem because the browser is correcting this (Firefox does).
But it can't find $PHP_SELF, so it gives the error:
Notice: Undefined variable: PHP_SELF in C:\webroot\pixelpost_1-5_beta1\includes\functions.php on line 455
Now the url of the link will be (see sourcecode):
<a href='?view=NEWITEM'>NEWITEM</a>
but this is what you want:
<a href='/admin/index.php?view=NEWITEM'>NEWITEM</a>
I think it is not a problem because the browser is correcting this (Firefox does).