Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv2177
Modified Files:
install.php
Log Message:
Fixed glob check problem for IIS+PHP systems. Seems to give errors when you use function_exist(glob), when you change syntax function_exist("glob") it works.
Index: install.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/install.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** install.php 21 Jun 2003 20:42:04 -0000 1.4
--- install.php 22 Jun 2003 17:30:20 -0000 1.5
***************
*** 44,48 ****
<?php
! if(function_exists(glob)) {
foreach (glob("../*/setup/*.mysql") as $filename) {
$sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1)));
--- 44,48 ----
<?php
! if(function_exists("glob")) {
foreach (glob("../*/setup/*.mysql") as $filename) {
$sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1)));
|