Ignore:
Timestamp:
05/18/11 23:27:11 (8 years ago)
Author:
grum
Message:

fix bug:2305 - local file is hardcoded

Location:
extensions/gally/gally-default/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/admin/Conf.class.inc.php

    r8528 r10937  
    187187 
    188188    $configLocal = new Conf(); 
    189     $configLocal->setFileName(PHPWG_ROOT_PATH."local/themes/$theme/conf/local.conf"); 
     189    $configLocal->setFileName(PHPWG_ROOT_PATH.PWG_LOCAL_DIR."themes/$theme/conf/local.conf"); 
    190190    $configLocal->read(); 
    191191 
  • extensions/gally/gally-default/admin/GallyDefault.class.inc.php

    r8585 r10937  
    137137    $this->config->setFileName($this->directories['conf.local']."/default.conf"); 
    138138    $this->config->read(false); 
    139     $this->config->setFileName(PHPWG_ROOT_PATH."local/themes/".basename(dirname($this->directories['conf.local']))."/conf/local.conf"); 
     139    $this->config->setFileName(PHPWG_ROOT_PATH.PWG_LOCAL_DIR."themes/".basename(dirname($this->directories['conf.local']))."/conf/local.conf"); 
    140140    $this->config->read(false); 
    141141  } 
  • extensions/gally/gally-default/admin/GallyFunctions.class.inc.php

    r6956 r10937  
    1616    $config->setFileName(PHPWG_THEMES_PATH.$themeDir.'/conf/default.conf'); 
    1717    $config->read(); 
    18     $config->setFileName(PHPWG_ROOT_PATH."local/themes/".$themeDir."/conf/local.conf"); 
     18    $config->setFileName(PHPWG_ROOT_PATH.PWG_LOCAL_DIR."themes/".$themeDir."/conf/local.conf"); 
    1919    $config->read(false); 
    2020 
Note: See TracChangeset for help on using the changeset viewer.