Commit 5184eacd authored by Andrius Mickus's avatar Andrius Mickus

fix get env

parent c6e4fdd5
......@@ -128,7 +128,7 @@ function getEnvironment()
$env = 'prod';
//Set dev env. only on dev subdomain
$subDomain = strstr($_SERVER['SERVER_NAME'], '.biuro.lt', true);
$subDomain = strstr($_SERVER['SERVER_NAME'], '.biuro', true);
if ($subDomain == 'dev') {
$env = 'dev';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment