Changeset 12769 for trunk/install.php


Ignore:
Timestamp:
12/19/11 21:27:05 (8 years ago)
Author:
rvelices
Message:

simplification of 'startup phase' (forgot install.php)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install.php

    r12103 r12769  
    106106} 
    107107 
    108 if (is_file(PHPWG_ROOT_PATH .'local/config/multisite.inc.php')) 
    109 { 
    110   include(PHPWG_ROOT_PATH .'local/config/multisite.inc.php'); 
    111   define('PWG_LOCAL_DIR', $conf['local_dir_site']); 
    112 } 
    113 else 
    114 { 
    115   define('PWG_LOCAL_DIR', 'local/'); 
    116 } 
    117  
    118108include(PHPWG_ROOT_PATH . 'include/config_default.inc.php'); 
    119109@include(PHPWG_ROOT_PATH. 'local/config/config.inc.php'); 
    120 if (isset($conf['local_dir_site'])) 
    121 { 
    122   @include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR. 'config/config.inc.php'); 
    123 } 
     110defined('PWG_LOCAL_DIR') or define('PWG_LOCAL_DIR', 'local/'); 
    124111 
    125112// download database config file if exists 
Note: See TracChangeset for help on using the changeset viewer.