X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=lib%2Ffunctions.php;h=6a39ddd3383a804040a36b55d26d8f51811f0ba9;hb=ec6ab548e836540dfabe20aab309667c43d2e35f;hp=ec0b35ade4763feb1890792972f1f01166b1e107;hpb=67672f1de588927289253f9b56270e5336aa537d;p=readifood.git diff --git a/lib/functions.php b/lib/functions.php index ec0b35a..6a39ddd 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -582,7 +582,7 @@ echo call_user_func_array("get_small_link", func_get_args()); } - include_once("$lib_root/admin.php"); - include_once("$lib_root/forms.php"); + include_once(join(DIRECTORY_SEPARATOR, array($lib_root, "admin.php"))); + include_once(join(DIRECTORY_SEPARATOR, array($lib_root, "forms.php"))); ?>