summaryrefslogtreecommitdiffstats
path: root/app/l10n/extract.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/l10n/extract.php')
-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.');
}