I'm on a shared host... Whatever, I think a simple test at the end of installation for check if the file exist would be nice.
Something likes this:
May be you can do the CHMOD automaticly, but you need to be sure that's not dangerous...
Something likes this:
Code:
if (file_exists('data/other/website.xml')) {
$thisfile = 'data/other/website.xml';
$data = getXML($thisfile);
$SITEURL = $data->SITEURL;
}
if (@$SITEURL == '') {
$err .= '<b>Error:</b> Try to do a <em>CHMOD 777</em> on the folders data and backups<br />';
}
May be you can do the CHMOD automaticly, but you need to be sure that's not dangerous...