Changeset 8722 for trunk/upgrade_feed.php
- Timestamp:
- Jan 17, 2011, 7:48:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/upgrade_feed.php
r6363 r8722 33 33 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 34 34 include_once(PHPWG_ROOT_PATH.'admin/include/functions_upgrade.php'); 35 include(PHPWG_ROOT_PATH.'local/config/database.inc.php'); 35 36 if (is_file(PHPWG_ROOT_PATH .'local/config/multisite.inc.php')) 37 { 38 include(PHPWG_ROOT_PATH .'local/config/multisite.inc.php'); 39 define('PWG_LOCAL_DIR', $conf['local_dir_site']); 40 } 41 else 42 { 43 define('PWG_LOCAL_DIR', 'local/'); 44 } 45 46 include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR .'config/database.inc.php'); 36 47 include(PHPWG_ROOT_PATH . 'include/config_default.inc.php'); 37 48 @include(PHPWG_ROOT_PATH. 'local/config/config.inc.php'); 49 if (isset($conf['local_dir_site'])) 50 { 51 @include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR. 'config/config.inc.php'); 52 } 38 53 include(PHPWG_ROOT_PATH .'include/dblayer/functions_'.$conf['dblayer'].'.inc.php'); 39 54
Note: See TracChangeset
for help on using the changeset viewer.