Actions
Bug #808
closedPHP Shell - $config doesn't work but $GLOBALS["config"] does.
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Developer Tools
Target version:
-
Start date:
08/07/2010
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
Description
(from cvstrac)
The PHP shell's "help" output refers to using $config - but $config apparently isn't declared as global, because it doesn't work. However, using $GLOBALS["config"] does work.
Seems like the help text should be updated to reference $GLOBALS["config"] style syntax, or $config should be declared global before eval() is run on the shell input.
Actions