Ripristino template originale

This commit is contained in:
2026-08-19 17:56:28 +01:00
commit f146db4aed
23 changed files with 833 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<?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",
"demo-example"
);
// 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");
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");
}
}
}
}