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
This commit is contained in:
2016-08-16 08:20:49 +00:00
parent d059c6476e
commit 8d9c1340ba

View File

@@ -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")