diff --git a/.gitignore b/.gitignore index 1586e95..6745e38 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ tmp - +config.php diff --git a/config.example.php b/config.example.php index 99b9340..347a8b2 100644 --- a/config.example.php +++ b/config.example.php @@ -17,7 +17,9 @@ return [ 'quickupload' => [ 'auth' => true ], - 'logator' => [] + 'logator' => [ + 'alias' => ['logme'] + ] ], 'auth' => [ 'root' => 'password' diff --git a/config.php b/config.php deleted file mode 100644 index 347a8b2..0000000 --- a/config.php +++ /dev/null @@ -1,27 +0,0 @@ - 'lefuturiste.fr', - 'modules' => [ - 'random' => [], - 'date' => [ - 'alias' => ['printdate'] - ], - 'httpbin' => [], - 'printip' => [ - 'alias' => ['ip', 'getip'] - ], - 'quicknote' => [ - 'auth' => true - ], - 'quickupload' => [ - 'auth' => true - ], - 'logator' => [ - 'alias' => ['logme'] - ] - ], - 'auth' => [ - 'root' => 'password' - ] -]; \ No newline at end of file diff --git a/load_config.php b/load_config.php index 1d886bb..f122e06 100644 --- a/load_config.php +++ b/load_config.php @@ -1,7 +1,15 @@ 0)) { die('Domain key not present in config');