Skip to content

Instantly share code, notes, and snippets.

@KristianH
Last active June 21, 2019 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KristianH/b9a2a795252a56e63696bbf61f72f9d9 to your computer and use it in GitHub Desktop.
Save KristianH/b9a2a795252a56e63696bbf61f72f9d9 to your computer and use it in GitHub Desktop.
<?php
//this file requires a oxid shop V6.0.0 or higher!
// put this file in source folder and open via web url: https://www.myshop.de/...
define(OX_IS_ADMIN, true);
include('bootstrap.php');
$shopconfvar = \OxidEsales\Eshop\Core\Registry::getConfig()->getShopConfVar("aModulePaths");
$moduleId = "d3modcfg_lib";
if (isset($shopconfvar[$moduleId])) {
unset($shopconfvar[$moduleId]);
\OxidEsales\Eshop\Core\Registry::getConfig()->saveShopConfVar("aarr", "aModulePaths", $shopconfvar);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment