Options -Indexes '); if (!@is_dir(APP_PRIVATE_DATA)) { @mkdir(APP_PRIVATE_DATA, 0777, true); } foreach (array('logs', 'cache', 'configs', 'plugins', 'storage') as $sName) { if (!@is_dir(APP_PRIVATE_DATA.$sName)) { @mkdir(APP_PRIVATE_DATA.$sName, 0777, true); } } if (!@file_exists(APP_PRIVATE_DATA.'domains/default.ini')) { if (!@is_dir(APP_PRIVATE_DATA.'domains')) { @mkdir(APP_PRIVATE_DATA.'domains', 0777); @copy(APP_VERSION_ROOT_PATH.'app/domains/readme.txt', APP_PRIVATE_DATA.'domains/readme.txt'); @copy(APP_VERSION_ROOT_PATH.'app/domains/disabled', APP_PRIVATE_DATA.'domains/disabled'); @copy(APP_VERSION_ROOT_PATH.'app/domains/gmail.com.ini', APP_PRIVATE_DATA.'domains/gmail.com.ini'); @copy(APP_VERSION_ROOT_PATH.'app/domains/yahoo.com.ini', APP_PRIVATE_DATA.'domains/yahoo.com.ini'); } @copy(APP_VERSION_ROOT_PATH.'app/domains/default.ini.dist', APP_PRIVATE_DATA.'domains/default.ini'); } } include APP_VERSION_ROOT_PATH.'app/handle.php'; }