Translate: Necessary resource mods.

This commit is contained in:
Nate Jones
2015-01-18 07:54:19 +00:00
parent b29c9ce2a2
commit 283cda7aa1
2 changed files with 9 additions and 0 deletions

View File

@@ -79,4 +79,9 @@
require "resources/pdo.php";
require_once "resources/functions.php";
require_once "resources/switch.php";
//change language on the fly - for translate tool (if available)
if ($_REQUEST['view_lang_code'] != '') {
$_SESSION['domain']['language']['code'] = $_REQUEST['view_lang_code'];
}
?>