Revert "Merge pull request #2319 from stieben/develop"
This reverts commit9330a6994c
, reversing changes made toecfb6ec924
. But it keeps changes to doc/Plugins.md and doc/de/Plugins.md
This commit is contained in:
parent
3c97a6703c
commit
5250fed447
2 changed files with 3 additions and 24 deletions
11
index.php
11
index.php
|
@ -233,16 +233,7 @@ if(strlen($a->module)) {
|
|||
}
|
||||
|
||||
/**
|
||||
* If not, next look for module overrides by the theme
|
||||
*/
|
||||
|
||||
if((! $a->module_loaded) && (file_exists("view/theme/" . current_theme() . "/mod/{$a->module}.php"))) {
|
||||
include_once("view/theme/" . current_theme() . "/mod/{$a->module}.php");
|
||||
// We will not set module_loaded to true to allow for partial overrides.
|
||||
}
|
||||
|
||||
/**
|
||||
* Finally, look for a 'standard' program module in the 'mod' directory
|
||||
* If not, next look for a 'standard' program module in the 'mod' directory
|
||||
*/
|
||||
|
||||
if((! $a->module_loaded) && (file_exists("mod/{$a->module}.php"))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue