summaryrefslogtreecommitdiffstats
path: root/app/l10n
diff options
context:
space:
mode:
authornashe <contact@nashe.fr>2015-08-11 11:59:40 +0200
committernashe <contact@nashe.fr>2015-08-11 11:59:40 +0200
commitf2788a4ed2eae7f0056ab200b8fc787ed20a32da (patch)
treec9c5ded4176bb6390f6f5773ebfa2f8b91d67a5a /app/l10n
parente47418ee75998ae22a506b8fd596dbba58388266 (diff)
downloadplanet-f2788a4ed2eae7f0056ab200b8fc787ed20a32da.tar
planet-f2788a4ed2eae7f0056ab200b8fc787ed20a32da.tar.gz
planet-f2788a4ed2eae7f0056ab200b8fc787ed20a32da.tar.bz2
planet-f2788a4ed2eae7f0056ab200b8fc787ed20a32da.tar.xz
planet-f2788a4ed2eae7f0056ab200b8fc787ed20a32da.zip
Fix class autoloading
Made some mistakes with my last PR: I tested that everything were working, but on the wrong branch. This commit fixes all the autoloading error that were left.
Diffstat (limited to 'app/l10n')
-rwxr-xr-xapp/l10n/extract.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/l10n/extract.php b/app/l10n/extract.php
index 1a04f00..3f1ef33 100755
--- a/app/l10n/extract.php
+++ b/app/l10n/extract.php
@@ -17,9 +17,10 @@
// return;
$root = dirname(__FILE__) . '/../../';
-$GLOBALS['english'] = array();
-include_once $root . '/app/classes/Simplel10n.class.php';
+require_once $root.'/vendors/autoload.php';
+
+$GLOBALS['english'] = array();
/*
* This is a file parser to extract localizable strings (in .php files)