Convert to 4 spaces; General tidy
This commit is contained in:
+3
-3
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
if (!isset($_SESSION)) {
|
if (!isset($_SESSION)) {
|
||||||
// HTTP Only cookies
|
// HTTP Only cookies
|
||||||
ini_set("session.cookie_httponly", True);
|
ini_set("session.cookie_httponly", true);
|
||||||
if ($config_https_only) {
|
if ($config_https_only) {
|
||||||
// Tell client to only send cookie(s) over HTTPS
|
// Tell client to only send cookie(s) over HTTPS
|
||||||
ini_set("session.cookie_secure", True);
|
ini_set("session.cookie_secure", true);
|
||||||
}
|
}
|
||||||
session_start();
|
session_start();
|
||||||
}
|
}
|
||||||
@@ -69,7 +69,7 @@ $session_company_country = $row['company_country'];
|
|||||||
$session_company_locale = $row['company_locale'];
|
$session_company_locale = $row['company_locale'];
|
||||||
$session_company_currency = $row['company_currency'];
|
$session_company_currency = $row['company_currency'];
|
||||||
|
|
||||||
include("get_settings.php");
|
require_once("get_settings.php");
|
||||||
|
|
||||||
//Detects if using an Apple device and uses Apple Maps instead of google
|
//Detects if using an Apple device and uses Apple Maps instead of google
|
||||||
$iPod = stripos($_SERVER['HTTP_USER_AGENT'], "iPod");
|
$iPod = stripos($_SERVER['HTTP_USER_AGENT'], "iPod");
|
||||||
|
|||||||
Reference in New Issue
Block a user