]> git.mxchange.org Git - simple-upload.git/blobdiff - index.php
Support for local configuration file added + ignored config-local.php
[simple-upload.git] / index.php
index a5f62f569c4b994ef5f0a1e65dde5c2162cb7292..c1606d151cff401a4d8751bf4e8e8ca52c1badc1 100644 (file)
--- a/index.php
+++ b/index.php
        );
        // =============={ Configuration End }==============
 
+       // Is the local config file there?
+       if (file_exists('config-local.php')) {
+               // Load it then
+               include('config-local.php');
+       }
+
        // Enabling error reporting
        if ($settings['debug']) {
                error_reporting(E_ALL);