We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e23d196 commit 286d1bfCopy full SHA for 286d1bf
1 file changed
interface/web/designer/form_list.php
@@ -56,7 +56,7 @@ function getinfo($file, $form_file, $bgcolor) {
56
while ($file = @readdir ($handle)) {
57
if ($file != '.' && $file != '..') {
58
if(@is_dir(ISPC_WEB_PATH."/$file")) {
59
- 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') {
60
if(@is_dir(ISPC_WEB_PATH."/$file/form")) {
61
$handle2 = opendir(ISPC_WEB_PATH."/$file/form");
62
while ($form_file = @readdir ($handle2)) {
0 commit comments