First Commit
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
<?php
|
||||
/*
|
||||
### LIST OF FUNCTIONS TO INCLUDE ###
|
||||
Include in this array all the function files you may want to include.
|
||||
Include in this array all the function files you may want to include.
|
||||
You don't need to specify the extension .php, the system will automatically add it.
|
||||
*/
|
||||
|
||||
$fun_to_inc = array(
|
||||
//"example",
|
||||
"demo-example"
|
||||
"lang",
|
||||
"site_settings",
|
||||
"auth",
|
||||
"blocknotes"
|
||||
);
|
||||
|
||||
// DON'T CHANGE THE CODE BELOW!!!
|
||||
@@ -17,9 +19,6 @@ if (isset($fun_to_inc) && is_array($fun_to_inc) && !empty($fun_to_inc)){
|
||||
require_once(FUNCTIONS_FOLD . $fun . ".php");
|
||||
} else {
|
||||
debugStatusMes("Function file $fun.php not found in functions folder: '" . FUNCTIONS_FOLD . "'", "Medium");
|
||||
if ($fun === "demo-example") {
|
||||
debugStatusMes("The 'demo-example' function is only a demo. If you create a new function, needs to be included in the file specified above. Please remove the demo-example record from 'functions/functions.php' ", "Info");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user