From 820f12e342a67f74a28bdb32857bba6b69ee94e9 Mon Sep 17 00:00:00 2001 From: nashe Date: Sun, 16 Jul 2017 17:18:07 +0200 Subject: Files to test for +w rights were not removed by the installer It leds to some issues with the cache. --- install.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'install.php') 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', ''); @@ -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("$v is writable", 'OK', true); + unlink(__DIR__.$v); } else { $strInstall .= installStatus("$v is writable", 'FAIL',false); $strRecommendation .= "
  • Make $v writable with CHMOD
  • "; -- cgit v1.2.1