Base path in developer enviroment

In DEV enviroment, path does not have app_dev.php. 

This PR check this