adding Bootstrap::LoadTranslationObject() to load translation on Rest env.
This commit is contained in:
@@ -372,6 +372,8 @@ class WebApplication
|
|||||||
|
|
||||||
\Propel::init(PATH_CONFIG . "databases.php");
|
\Propel::init(PATH_CONFIG . "databases.php");
|
||||||
|
|
||||||
|
\Bootstrap::LoadTranslationObject(defined( 'SYS_LANG' ) ? SYS_LANG : "en");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user