diff options
Diffstat (limited to 'install.php')
-rwxr-xr-x | install.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install.php b/install.php index 2c417d5..137f0c6 100755 --- a/install.php +++ b/install.php @@ -40,6 +40,8 @@ if (file_exists(__DIR__ . '/custom/config.yml') && isset($login) && isset($passw $CreatePlanetConfig = new PlanetConfig($config); $save['config'] = file_put_contents(__DIR__.'/custom/config.yml', $CreatePlanetConfig->toYaml()); + OpmlManager::save(new Opml(), custom_path('people.opml')); + //Save password $save['password'] = file_put_contents(__DIR__.'/admin/inc/pwd.inc.php', '<?php $login="admin"; $password="'.md5($_REQUEST['password']).'"; ?>'); @@ -69,6 +71,7 @@ if (file_exists(__DIR__ . '/custom/config.yml') && isset($login) && isset($passw foreach ($tests as $v) { if(touch(__DIR__ . $v)) { $strInstall .= installStatus("<code>$v</code> is writable", 'OK', true); + unlink(__DIR__.$v); } else { $strInstall .= installStatus("<code>$v</code> is writable", 'FAIL',false); $strRecommendation .= "<li>Make <code>$v</code> writable with CHMOD</li>"; |