@@ -173,23 +173,22 @@ function companion_admin_page() {
if(!$original){
if($is_iis7){
if(win_is_writable($companion_edit_file)){?>
File exists and is writable.<br/>
<?php}else{
wp_mkdir_p(dirname($companion_edit_file));?>
File Does *not* exist or is not writable, try to save the file. If you still get this error check permissions.<br/>
<?php}
if(win_is_writable($companion_edit_file)){
echo'WIN: File exists and is writable.<br />';
}else{
wp_mkdir_p(dirname($companion_edit_file));
echo'<i>WIN: File '.basename($companion_edit_file).' does *not* exist or is not writable, try to save the file. If you still get this error check permissions.</i><br />';
}
}else{
if(is_writable($companion_edit_file)){?>
File Exists and is writable.<br/>
<?php}else{
wp_mkdir_p(dirname($companion_edit_file));?>
File Does *not* exist or is not writable, try to save the file. If you still get this error check permissions.<br/>
<?php}
if(is_writable($companion_edit_file)){
echo'NIX: File Exists and is writable.<br />';
}else{
wp_mkdir_p(dirname($companion_edit_file));
echo'<i>NIX: File '.basename($companion_edit_file).' does *not* exist or is not writable, try to save the file. If you still get this error check permissions.</i><br />';
}
}
}else{?>
Loading Original Style.CSS, it is NOT writable, you are to use the custom editor area to add changes that you want to make, and only changes.<br/>
<?php
}else{
echo'Loading Original Style.CSS, it is NOT writable, you are to use the custom editor area to add changes that you want to make, and only changes.<br />';