the folder '.$check['path'].' does not exist.
configuration changes can be made to the file /code.php
'; // msg ## } else { // folder exists, so check permissions ## if ( !file_exists ( $check['path'].$check['file'] ) ) { // run checks, if check file not found ## // create check file ## //ecoder_copy ( getcwd().'/docs/home.txt', $check['path'].$check['file'], $code['permissions_file'] ); // now check if copied ## if ( file_exists ( $check['path'].$check['file'] ) ) { if ( is_writable( $check['path'].$check['file'] ) ) { // can write ## $tree['error'] = 2; // can write ## $check['report'] = 'permissions for the folder '.$check['path'].' seem good.
configuration changes can be made to the file /code.php
'; // error msg ## // add note to file ## //file_put_contents ( $check['path'].$check['file'], $check['message'] ); // now delete ## #ecoder_delete_file ( $check['path'].$check['file'] ); // now try and delete ## #if ( !file_exists ( $check['path'].$check['file'] ) ) { #$check['report'] = 'permissions for the folder '.$check['path'].' seem good.
configuration changes can be made to the file /code.php
'; // error msg ## #} } else { // can't write file ## $tree['error'] = 3; // no write permission ## //$check['report'] = 'ecoder does not have write permission to files in '.$check['path'].'
configuration changes can be made to the file /code.php
'; // msg ## } // write ## } else { // not copied ## $tree['error'] = 4; // no write permission ## //$check['report'] = 'ecoder does not have write permission to the folder '.$check['path'].'
configuration changes can be made to the file /code.php
'; // msg ## } // copied or not ## } // test file not found ## } // file exists ## if ( $tree['error'] > 0 ) { // error found, so report ## echo ' '; } ?>