summaryrefslogtreecommitdiffstats
path: root/app/l10n
diff options
context:
space:
mode:
authorRomain d'Alverny <rdalverny@gmail.com>2022-01-11 17:57:46 +0100
committerRomain d'Alverny <rdalverny@gmail.com>2022-01-11 17:57:46 +0100
commit1b7fbc4614b577e14052fea50487ee5d0a301e93 (patch)
tree30ac8bfd172b4dd1f3a5da9611b452475056eac9 /app/l10n
parent138865bbde25bb6193930c98e30c33913d19e367 (diff)
downloadplanet-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-xapp/l10n/extract.php2
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.');
}