diff --git a/scripts/lib/include.php b/scripts/lib/include.php new file mode 100644 index 0000000..6a22a70 --- /dev/null +++ b/scripts/lib/include.php @@ -0,0 +1,26 @@ + $value) +{ + //Always finde the correct path + $dir_path = __FILE__; + $dir_path = str_replace("include.php", "", $dir_path); + + require_once $dir_path . $value . ".php"; +} + + +?> \ No newline at end of file