Update of /cvsroot/xoops/xoops-current/html
In directory usw-pr-cvs1:/tmp/cvs-serv18544
Modified Files:
install.php
Log Message:
no message
Index: install.php
===================================================================
RCS file: /cvsroot/xoops/xoops-current/html/install.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** install.php 19 Sep 2002 00:05:12 -0000 1.14
--- install.php 19 Sep 2002 17:30:36 -0000 1.15
***************
*** 1119,1128 ****
$writeok[] = XOOPS_ROOT_PATH."/modules/headlines/cache/";
$writeok[] = XOOPS_ROOT_PATH."/modules/xoopsfaq/cache/";
$filelist = "";
foreach ($writeok as $wok) {
! if ( file_exists($wok) ) {
! @chmod($wok, 0666);
if (!is_writeable($wok)) {
! $filelist .= "<li>".$wok."</li>";
}
}
--- 1119,1136 ----
$writeok[] = XOOPS_ROOT_PATH."/modules/headlines/cache/";
$writeok[] = XOOPS_ROOT_PATH."/modules/xoopsfaq/cache/";
+ $writeok[] = XOOPS_ROOT_PATH."/cache/";
$filelist = "";
foreach ($writeok as $wok) {
! if (!is_dir($wok)) {
! if ( file_exists($wok) ) {
! @chmod($wok, 0666);
! if (!is_writeable($wok)) {
! $filelist .= "<li>".$wok." chmod 666</li>";
! }
! }
! } else {
! @chmod($wok, 0777);
if (!is_writeable($wok)) {
! $filelist .= "<li>".$wok." chmod 777</li>";
}
}
|