Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix "bug" about global not being global when file is included inside …

…a function

git-svn-id: http://svn.php.net/repository/pear/packages/Console_Color/trunk@149033 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 42c3b963a04dd0fbd24e1a767b0c56e64df732a5 1 parent c56ed58
Stefan Walk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Color.php
View
2  Color.php
@@ -18,7 +18,7 @@
//
// $Id$
-$_CONSOLE_COLOR_CODES = array (
+$GLOBALS['_CONSOLE_COLOR_CODES'] = array (
'color' => array(
'black' => 30,
'red' => 31,
Please sign in to comment.
Something went wrong with that request. Please try again.