From 286d1bf1b746b49e43fd674bbc47afd25adfbedb Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Sun, 31 Jan 2010 17:33:18 +0000 Subject: [PATCH] Fixed: FS#1053 - Syntax Error in form_list.php --- interface/web/designer/form_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/web/designer/form_list.php b/interface/web/designer/form_list.php index 249b5e880..6bd8bc69c 100644 --- a/interface/web/designer/form_list.php +++ b/interface/web/designer/form_list.php @@ -56,7 +56,7 @@ $handle = @opendir(ISPC_WEB_PATH); while ($file = @readdir ($handle)) { if ($file != '.' && $file != '..') { if(@is_dir(ISPC_WEB_PATH."/$file")) { - if(ISPC_WEB_PATH.'/'.$file.'/lib/module.conf.php') and $file != 'login') { + if(is_file(ISPC_WEB_PATH.'/'.$file.'/lib/module.conf.php') and $file != 'login') { if(@is_dir(ISPC_WEB_PATH."/$file/form")) { $handle2 = opendir(ISPC_WEB_PATH."/$file/form"); while ($form_file = @readdir ($handle2)) { -- GitLab