21 lines
669 B
PHP
21 lines
669 B
PHP
<?php
|
|
/*
|
|
### LIST OF FUNCTIONS 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",
|
|
"test"
|
|
);
|
|
|
|
// DON'T CHANGE THE CODE BELOW!!!
|
|
if (isset($fun_to_inc) && is_array($fun_to_inc) && !empty($fun_to_inc)){
|
|
foreach ($fun_to_inc as $fun){
|
|
if (file_exists(FUNCTIONS_FOLD . $fun . ".php")){
|
|
require_once(FUNCTIONS_FOLD . $fun . ".php");
|
|
} else {
|
|
debugStatusMes("Function file $fun.php not found in functions folder: '" . FUNCTIONS_FOLD . "'", "Medium");
|
|
}
|
|
}
|
|
} |