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 #1

Updated by Jim Pingle over 13 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:bde982dd5aad41254273300676d1d5c2ecf367c3.

Actions #2

Updated by Renato Botelho almost 12 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF