mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-05-11 02:45:56 +03:00
feature 2112 added: ability to set an additional local directory
$conf['local_dir_site'] in local/config/multisite.inc.php git-svn-id: http://piwigo.org/svn/trunk@8722 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
91fc33dc8e
commit
8ccd3a203d
11 changed files with 76 additions and 18 deletions
|
@ -49,7 +49,7 @@ class language_controler {
|
|||
// Reload language only if it isn't the same one
|
||||
if ( $same !== $user['language']) {
|
||||
load_language('common.lang', '', array('language'=>$user['language']) );
|
||||
load_language('lang', PHPWG_ROOT_PATH.'local/',
|
||||
load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR,
|
||||
array('language'=>$user['language'], 'no_fallback'=>true, 'local'=>true)
|
||||
);
|
||||
if (defined('IN_ADMIN') and IN_ADMIN) { // Never currently
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue