le parti da modificare sono 2...
1.
Codice PHP:
@chmod("../images/uploads/",0666);
@chmod("../images/uploads/thumbs/",0666);
@chmod("../includes/global.inc.php",0666);
2.
Codice PHP:
<?php
$fileperms = substr(sprintf('%o', fileperms('../images/uploads/')), -4);
if(win()==TRUE) {
echo "<span class='greenTxt'>".$lang['install']['na']."</span>";
} elseif($fileperms == 666){
echo "<span class='greenTxt'>".$fileperms."</span>";
} else {
echo "<span class='redTxt'>".$fileperms."</span>";
$error = TRUE;
$stepBack = 2;
}
?> </td>
<td align="center">
<?php
if(win()==TRUE) {
echo $lang['install']['na'];
} else {
echo "0666";
}
?> </td>
<td rowspan="3" align="center"><a href="javascript:;"><img src="images/helpIcon.gif" alt="<?php echo $lang['install']['help']; ?>" width="30" height="28" border="0" title="" onclick="MM_openBrWindow('help/filePerms.php?l=<?php echo $langFolder; ?>','','width=500,height=500')" /></a></td>
</tr>
<tr>
<td>images/uploads/thumbs/</td>
<td align="center">
<?php
$fileperms = substr(sprintf('%o', fileperms('../images/uploads/thumbs')), -4);
if(win()==TRUE) {
echo "<span class='greenTxt'>".$lang['install']['na']."</span>";
} elseif($fileperms == 666){
echo "<span class='greenTxt'>".$fileperms."</span>";
} else {
echo "<span class='redTxt'>".$fileperms."</span>";
$error = TRUE;
$stepBack = 2;
}
?> </td>
<td align="center">
<?php
if(win()==TRUE) {
echo $lang['install']['na'];
} else {
echo "0666";
}
?> </td>
</tr>
<tr>
<td>includes/global.inc.php</td>
<td align="center">
<?php
$fileperms = substr(sprintf('%o', fileperms('../includes/global.inc.php')), -4);
if(win()==TRUE) {
echo "<span class='greenTxt'>".$lang['install']['na']."</span>";
} elseif($fileperms == 666){
echo "<span class='greenTxt'>".$fileperms."</span>";
} else {
echo "<span class='redTxt'>".$fileperms."</span>";
$error = TRUE;
$stepBack = 2;
}
?> </td>
<td align="center">
<?php
if(win()==TRUE) {
echo $lang['install']['na'];
} else {
echo "0666";
}
?> </td>
</tr>
<tr>
<td>pear/tmp/</td>
<td align="center">
<?php
$fileperms = substr(sprintf('%o', fileperms('../pear/tmp')), -4);
if(win()==TRUE) {
echo "<span class='greenTxt'>".$lang['install']['na']."</span>";
} elseif($fileperms == 666){
echo "<span class='greenTxt'>".$fileperms."</span>";
} else {
echo "<span class='redTxt'>".$fileperms."</span>";
$error = TRUE;
$stepBack = 2;
}
?> </td>
<td align="center">
<?php
if(win()==TRUE) {
echo $lang['install']['na'];
} else {
echo "0666";
}
?> </td>
il secondo pezzo inizia della riga 386 mi pare...
spero di essert istato di aiuto
ciao ^__^