Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv16517
Modified Files:
install.php
Log Message:
Apply isset() fix to version without glob()
Index: install.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/install.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** install.php 22 Jun 2003 22:44:34 -0000 1.6
--- install.php 22 Jun 2003 22:46:04 -0000 1.7
***************
*** 74,78 ****
$dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1)));
echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>");
! if($_POST[$dir] == "on") {
$filename = "$file/setup/$fil";
$sf = fopen($filename, "r");
--- 74,78 ----
$dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1)));
echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>");
! if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") {
$filename = "$file/setup/$fil";
$sf = fopen($filename, "r");
|