X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=bf926d1fe76f166c7c240036560c86223d8f7814;hb=ef0f826fd096e550b5c4279a832fca1f181328f8;hp=2b1053cc1b7b976588d22a69168b5a87d293f010;hpb=48e6ff21aa50b428a970c53f1f6618c4794fa043;p=friendica.git diff --git a/index.php b/index.php index 2b1053cc1b..bf926d1fe7 100644 --- a/index.php +++ b/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"))) {