In my _ss_environment.php
I have: define('SS_ENVIRONMENT_TYPE', 'dev');
and in my _config.php
: require_once("conf/ConfigureFromEnv.php");
but for some reason my environment is still in live mode and cannot change to dev. I tested with simple function below:
function display(){
if (Director::isDev()){
echo 'yes dev';
} else {
echo 'no not dev';
}
}
display();
I need the dev environment because I'm loading extra css if its in dev. It might be something silly that I'm missing but could not figure it out, thanks in advance guys.