diff --git a/cli.php b/cli.php index d693899..70d2711 100644 --- a/cli.php +++ b/cli.php @@ -22,6 +22,7 @@ class cli /** The construtor define the catching of the errors */ public function __construct () { + global $argv; $launcher = $argv[0]; chdir (dirname ($argv[0])."/.."); // Catch the trigger_errors and display them politely