From 8d9c1340bad3fc8f38c3ed1f63255cd07c322b23 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 16 Aug 2016 08:20:49 +0000 Subject: [PATCH] cli : go to the main directory in the constructor to allow configuration reading git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2999 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- cli.php | 1 - 1 file changed, 1 deletion(-) diff --git a/cli.php b/cli.php index 70d2711..57facf9 100644 --- a/cli.php +++ b/cli.php @@ -71,7 +71,6 @@ class cli { global $argv; $launcher = $argv[0]; - chdir (dirname ($argv[0])."/.."); array_shift ($argv); if (isset ($argv[0]) && $argv[0] === "-h")