mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:15:13 +00:00
Remove legacy custom/
This commit is contained in:
parent
8163230e77
commit
474e7fff00
1 changed files with 0 additions and 11 deletions
11
index.php
11
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;
|
||||
|
|
Loading…
Reference in a new issue