diff options
author | nikrou <nikrou@piwigo.org> | 2010-03-21 12:32:49 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-03-21 12:32:49 +0000 |
commit | 85c1c1b1ea1cdbb6c6903e0cec11d86a79f750ad (patch) | |
tree | 7fa762080a234a4fd1527f4c3d36ce87c3f3be4b /install/upgrade_1.3.1.php | |
parent | 76b2701e1654e4539136822fda834a7b8262083b (diff) |
Feature 1522 : move database config file to local directory
(include/config_database.inc.php becomes local/config/database.inc.php)
git-svn-id: http://piwigo.org/svn/trunk@5213 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | install/upgrade_1.3.1.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/upgrade_1.3.1.php b/install/upgrade_1.3.1.php index ecc2c875d..eab8bd57f 100644 --- a/install/upgrade_1.3.1.php +++ b/install/upgrade_1.3.1.php @@ -579,7 +579,7 @@ UPDATE '.CATEGORIES_TABLE.' } // load the config file -$config_file = PHPWG_ROOT_PATH.'include/config_database.inc.php'; +$config_file = PHPWG_ROOT_PATH.'local/config/database.inc.php'; $config_file_contents = @file_get_contents($config_file); if ($config_file_contents === false) { @@ -595,7 +595,7 @@ if (!is_writable($config_file)) die('FILE NOT WRITABLE '.$config_file); } -// changes to write in config_database.inc.php +// changes to write in database.inc.php array_push($mysql_changes, 'define(\'PHPWG_INSTALLED\', true);'); // Send infos |