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 /app/l10n | |
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 'app/l10n')
-rwxr-xr-x | app/l10n/extract.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/l10n/extract.php b/app/l10n/extract.php index ef44912..c6e3acf 100755 --- a/app/l10n/extract.php +++ b/app/l10n/extract.php @@ -17,7 +17,7 @@ $root = __DIR__ . '/../../'; require_once __DIR__ . '/../app.php'; -if ($conf['debug'] !== true) { +if (!$PlanetConfig->getDebug()) { die('Please enable the debug mode to use extract.php.'); } |