Production release
This commit is contained in:
@@ -29,7 +29,7 @@ if (isset($_GET['language']) && $_GET['language'] !=''){
|
||||
$_SESSION['country_code'] = trim($_GET['language']);
|
||||
}
|
||||
else {
|
||||
include './custom/translations/translations_US.php';
|
||||
include './custom/translations/translations_NL.php';
|
||||
//DEFINE LANGUAGE
|
||||
$_SESSION['country_code'] = language_code;
|
||||
}
|
||||
@@ -40,10 +40,10 @@ elseif(isset($_SESSION['country_code'])){
|
||||
include $file_language; //Include the code
|
||||
}
|
||||
else {
|
||||
include './custom/translations/translations_US.php';
|
||||
include './custom/translations/translations_NL.php';
|
||||
}
|
||||
} else {
|
||||
include './custom/translations/translations_US.php';
|
||||
include './custom/translations/translations_NL.php';
|
||||
//DEFINE LANGUAGE
|
||||
$_SESSION['country_code'] = language_code;
|
||||
}
|
||||
@@ -104,6 +104,7 @@ $url = routes([
|
||||
'/termsandconditions'=> 'custom/pages/termsandconditions.php',
|
||||
'/termsandconditions/{download}'=> 'custom/pages/termsandconditions.php',
|
||||
'/faq'=> 'custom/pages/faq.php',
|
||||
'/dealers'=> 'custom/pages/dealers.php',
|
||||
'/privacy'=> 'custom/pages/privacy.php',
|
||||
'/privacy/{download}'=> 'custom/pages/privacy.php',
|
||||
'/instructions-for-use' => 'custom/pages/faq.php'
|
||||
|
||||
Reference in New Issue
Block a user