This commit is contained in:
kaetemi 2014-03-28 19:50:21 +01:00
commit 7d9c76704f

View file

@ -6,27 +6,27 @@
*/
//set permissions
if(writable('../../../www/login/logs')) {
if(is_writable('../../../www/login/logs')) {
echo "failed to get write permissions on logs";
exit;
}
if(writable('../../../admin/graphs_output')) {
if(is_writable('../../../admin/graphs_output')) {
echo "failed to get write permissions on graphs_output";
exit;
}
if(writable('../../../templates/default_c')) {
if(is_writable('../../../admin/templates/default_c')) {
echo "failed to get write permissions on default_c";
exit;
}
if(writable('../../www')) {
if(is_writable('../../www')) {
echo "failed to get write permissions on www";
exit;
}
if(writable('../../www/html/cache')) {
if(is_writable('../../www/html/cache')) {
echo "failed to get write permissions on cache";
exit;
}
if(writable('../../www/html/templates_c')) {
if(is_writable('../../www/html/templates_c')) {
echo "failed to get write permissions on templates_c";
exit;
}