Created
November 16, 2016 09:29
-
-
Save vanilla-thunder/e4ffa7e2aba1145a6ee7d3ecf98b398e to your computer and use it in GitHub Desktop.
gently removing module IDs from aDisabledModules (should also work for other module caches) in OXID eShop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$aDisabledModules = $cfg->getConfigParam("aDisabledModules"); | |
print_r($aDisabledModules); | |
if(($key = array_search("moduleid", $aDisabledModules)) !== false) unset($aDisabledModules[$key]); | |
print_r($aDisabledModules); | |
$cfg->saveShopConfVar('aDisabledModules', $aDisabledModules, 'arr'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment