diff options
author | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 17:57:46 +0100 |
---|---|---|
committer | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 17:57:46 +0100 |
commit | 1b7fbc4614b577e14052fea50487ee5d0a301e93 (patch) | |
tree | 30ac8bfd172b4dd1f3a5da9611b452475056eac9 /install.php | |
parent | 138865bbde25bb6193930c98e30c33913d19e367 (diff) | |
download | planet-1b7fbc4614b577e14052fea50487ee5d0a301e93.tar planet-1b7fbc4614b577e14052fea50487ee5d0a301e93.tar.gz planet-1b7fbc4614b577e14052fea50487ee5d0a301e93.tar.bz2 planet-1b7fbc4614b577e14052fea50487ee5d0a301e93.tar.xz planet-1b7fbc4614b577e14052fea50487ee5d0a301e93.zip |
Factor more config into PlanetConfig
This moves into PlanetConfig:
* people.opml, cache dir path definition,
* installation check,
* config upgrade when needed,
* responsibility for providing config values
instead of $conf global array).
Diffstat (limited to 'install.php')
-rwxr-xr-x | install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php index 5dc20bc..4294beb 100755 --- a/install.php +++ b/install.php @@ -10,7 +10,7 @@ function installStatus($str, $msg, $result) } // If the config file exists and the auth variables are set, moonmoon is already installed -if (is_installed()) { +if ($PlanetConfig::isInstalled()) { $status = 'installed'; } elseif (isset($_POST['url'])) { // Do no try to use the file of an invalid locale |