MODx CMF

Configuration is not updated.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: Revolution-2.0.0-alpha-1
  • Fix Version/s: None
  • Component/s: Caching
  • Description:
    Hide

    Change configuration in "Tools > Configuration", but update configure are not reflected.

    "core/cache/config.cache.php" is not updated.
    I think when configuration is updated, "core/cache/config.cache.php" is needed to updated too.

    Function "reloadConfig" in "core/model/modx/modx.class(864)"

    function reloadConfig() {
    >> add
    $cacheManager= $this->getCacheManager();
    $cacheManager->clearCache();
    << add

    if (!$this->_loadConfig()) { $this->_log(MODX_LOG_LEVEL_ERROR, "Could not reload core MODx configuration!"); }
    return $this->config;
    }

    Show
    Change configuration in "Tools > Configuration", but update configure are not reflected. "core/cache/config.cache.php" is not updated. I think when configuration is updated, "core/cache/config.cache.php" is needed to updated too. Function "reloadConfig" in "core/model/modx/modx.class(864)" function reloadConfig() { >> add $cacheManager= $this->getCacheManager(); $cacheManager->clearCache(); << add if (!$this->_loadConfig()) { $this->_log(MODX_LOG_LEVEL_ERROR, "Could not reload core MODx configuration!"); } return $this->config; }

Activity

Hide
Shaun McCormick added a comment - 24/Jun/08 10:44 AM

Comitted in r3791.

Show
Shaun McCormick added a comment - 24/Jun/08 10:44 AM Comitted in r3791.

People

Dates

  • Created:
    12/Jun/08 2:23 AM
    Updated:
    24/Jun/08 10:44 AM
    Resolved:
    24/Jun/08 10:44 AM