Fix PHP setup script

develop
kaetemi 4 years ago
parent 9d303b2a9a
commit a227dccbb8
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -33,7 +33,7 @@ function printalert($type, $message) {
print '</div>'; print '</div>';
} }
function is__writable($path) { function is__writable($path) {
if ($path{strlen($path) - 1} == '/') { if ($path[strlen($path) - 1] == '/' || $path[strlen($path) - 1] == '\\') {
return is__writable($path.uniqid(mt_rand()).'.tmp'); return is__writable($path.uniqid(mt_rand()).'.tmp');
} }

Loading…
Cancel
Save