From 474e7fff0059352b82734dc81716b646873705d8 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Tue, 4 Nov 2014 19:40:00 +0000 Subject: Remove legacy custom/ --- index.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index ae8a2e17d..7a61fd3b8 100755 --- a/index.php +++ b/index.php @@ -198,21 +198,10 @@ if(strlen($a->module)) { if(! $a->module_loaded) { - /* - * Traditionally we looked in custom first, but we're leaning toward a convention where site - * specific things are all in directories called 'site'. So custom will be going away. - * There are a very small number of folks affected. You know who you are. Once you've got things sorted, - * please remove the lines for "custom/" and push to the project repository. - */ - if(file_exists("mod/site/{$a->module}.php")) { include_once("mod/site/{$a->module}.php"); $a->module_loaded = true; } - elseif(file_exists("custom/{$a->module}.php")) { - include_once("custom/{$a->module}.php"); - $a->module_loaded = true; - } elseif(file_exists("mod/{$a->module}.php")) { include_once("mod/{$a->module}.php"); $a->module_loaded = true; -- cgit v1.2.3