|
From: Florin C B. <ory...@us...> - 2013-06-25 18:28:02
|
Update of /cvsroot/mxbb/mx_counter/admin In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17057 Modified Files: admin_counter_cfg.php Log Message: Index: admin_counter_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_counter/admin/admin_counter_cfg.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_counter_cfg.php 17 Jun 2013 18:24:41 -0000 1.4 --- admin_counter_cfg.php 25 Jun 2013 18:28:00 -0000 1.5 *************** *** 29,33 **** $mx_root_path = '../../../'; $module_root_path = "../"; ! // // Security and page header... --- 29,33 ---- $mx_root_path = '../../../'; $module_root_path = "../"; ! @define('IN_PORTAL', 1); // // Security and page header... *************** *** 114,131 **** $file = readdir($direct); $filetype = filetype($dir . $file); ! ! if ($file == ".." OR $file == "." OR $file == "") ! { $pagelist_digitpath = ""; ! } ! elseif ($filetype == "dir") ! { $pagelist_digitpath = "<OPTION value=\"$file\" > $file \n"; ! } ! ! $array = "$array;$file"; $template->assign_block_vars('digitpagelist', array('DIGITPATH' => $pagelist_digitpath)); ! ! } $s_hidden_fields = '<input type="hidden" name="config_name" value="' . htmlspecialchars($new[$config_name]) . '" />'; --- 114,127 ---- $file = readdir($direct); $filetype = filetype($dir . $file); ! if ($file == ".." OR $file == "." OR $file == "") ! { $pagelist_digitpath = ""; ! } ! elseif ($filetype == "dir") ! { $pagelist_digitpath = "<OPTION value=\"$file\" > $file \n"; ! } $template->assign_block_vars('digitpagelist', array('DIGITPATH' => $pagelist_digitpath)); ! } $s_hidden_fields = '<input type="hidden" name="config_name" value="' . htmlspecialchars($new[$config_name]) . '" />'; |