From 14165f6e041aa82f663de6ef3a1a44d80864f11d Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sun, 8 Aug 2021 19:32:01 +0200 Subject: [PATCH] fix: add config.php as ignored --- .gitignore | 2 +- config.example.php | 4 +++- config.php | 27 --------------------------- load_config.php | 8 ++++++++ 4 files changed, 12 insertions(+), 29 deletions(-) delete mode 100644 config.php 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');