This commit is contained in:
botanic 2014-03-24 10:45:54 -07:00
commit 5d9b6f294d

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;
}