First Commit

This commit is contained in:
sld-admin committed 2026-08-19 17:26:06 +01:00
1 parent f782c6f531
commit 121f788c28
25 files changed
+5132 -73

No files matched your search

+5 -6
View File
@@ -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");
}
}
}
}