Project

General

Profile

Actions

Bug #808

closed

PHP Shell - $config doesn't work but $GLOBALS["config"] does.

Added by Chris Buechler almost 16 years ago. Updated almost 12 years ago.

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

Also available in: Atom PDF