Commit 286d1bf1 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1053 - Syntax Error in form_list.php

parent e23d1963
...@@ -56,7 +56,7 @@ $handle = @opendir(ISPC_WEB_PATH); ...@@ -56,7 +56,7 @@ $handle = @opendir(ISPC_WEB_PATH);
while ($file = @readdir ($handle)) { while ($file = @readdir ($handle)) {
if ($file != '.' && $file != '..') { if ($file != '.' && $file != '..') {
if(@is_dir(ISPC_WEB_PATH."/$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")) { if(@is_dir(ISPC_WEB_PATH."/$file/form")) {
$handle2 = opendir(ISPC_WEB_PATH."/$file/form"); $handle2 = opendir(ISPC_WEB_PATH."/$file/form");
while ($form_file = @readdir ($handle2)) { while ($form_file = @readdir ($handle2)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment