Changeset 5213 for trunk/install


Ignore:
Timestamp:
Mar 21, 2010, 1:32:49 PM (14 years ago)
Author:
nikrou
Message:

Feature 1522 : move database config file to local directory
(include/config_database.inc.php becomes local/config/database.inc.php)

Location:
trunk/install
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/db/65-database.php

    r5196 r5213  
    256256
    257257// +-----------------------------------------------------------------------+
    258 // changes to write in config_database.inc.php
     258// changes to write in database.inc.php
    259259  array_push($mysql_changes,
    260260'define(\'PWG_CHARSET\', \''.$pwg_charset.'\');
  • trunk/install/db/80-database.php

    r5196 r5213  
    174174'include_phpwebgallery/config.php',
    175175'include_phpwebgallery/index.htm',
    176 'include_phpwebgallery/config_database.inc.php',
     176'include_phpwebgallery/local/config/database.inc.php',
    177177'index.htm',
    178178// Comparison between phpwebgallery-1.2.1 and phpwebgallery-1.1.0
     
    928928'admin/template/goto/theme/roma/images/bottom-left-bg.png',
    929929'admin/template/goto/theme/roma/images/top-left-bg.png',
    930 'include/config_database.inc.php',
     930'local/config/database.inc.php',
    931931'template-common/lib/ui/ui.accordion.packed.js',
    932932'template-common/lib/ui/ui.core.packed.js',
     
    944944
    945945$list_exlude_files = array(
    946 'include/config_database.inc.php',
     946'local/config/database.inc.php',
    947947);
    948948
  • trunk/install/upgrade_1.3.1.php

    r5196 r5213  
    580580
    581581// load the config file
    582 $config_file = PHPWG_ROOT_PATH.'include/config_database.inc.php';
     582$config_file = PHPWG_ROOT_PATH.'local/config/database.inc.php';
    583583$config_file_contents = @file_get_contents($config_file);
    584584if ($config_file_contents === false)
     
    596596}
    597597
    598 // changes to write in config_database.inc.php
     598// changes to write in database.inc.php
    599599array_push($mysql_changes, 'define(\'PHPWG_INSTALLED\', true);');
    600600
Note: See TracChangeset for help on using the changeset viewer.