]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/config.php
poche / pocket / bolsillo / Tasche & more
[github/wallabag/wallabag.git] / inc / config.php
index a21b388d10db2d2a8509902c84ef86f7bf0f2445..6e3f80b81dcae149732845a5a9161f72362a3a61 100644 (file)
@@ -14,12 +14,19 @@ if (!is_dir('db/')) {
     @mkdir('db/',0705);
 }
 
-define ('MODE_DEMO', TRUE);
+define ('MODE_DEMO', FALSE);
 define ('ABS_PATH', 'assets/');
 define ('CONVERT_LINKS_FOOTNOTES', TRUE);
 define ('REVERT_FORCED_PARAGRAPH_ELEMENTS',FALSE);
 define ('DOWNLOAD_PICTURES', TRUE);
 define ('SALT', '464v54gLLw928uz4zUBqkRJeiPY68zCX');
+define ('LANG', 'fr_FR.UTF8');
+
+putenv("LC_ALL=".LANG);
+setlocale(LC_ALL, LANG);
+bindtextdomain(LANG, "./locale"); 
+textdomain(LANG); 
+
 $storage_type = 'sqlite'; # sqlite or file
 
 include 'functions.php';