summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'shared/include/functions.php')
-rw-r--r--shared/include/functions.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/shared/include/functions.php b/shared/include/functions.php
deleted file mode 100644
index 3583b44..0000000
--- a/shared/include/functions.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-// Load shared functions and the ones specific to either foreground or background
-$dir=realpath($_SERVER['PHP_SELF']) == BACKEND.'/backend.php'?BACKEND:FRONTEND;
-foreach (array(SHARED, $dir) as $dir) {
- foreach (glob($dir.'/functions/*.php') as $file) {
- require_once($file);
- }
-}
-unset($dir);
-?>