No, open the main index.php file, in the first lines, depending on the CodeIgniter version in use, you should see (for version 2.*):
define('ENVIRONMENT', 'development');
while, for version 3.*:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
Be sure the value is development
.
Note
With version 3.* it's possible to push a server environment variable to define the environment through the .htaccess file. For example:
SetEnvIf Host www.domain.tld$ CI_ENV=production
The same can be applied at server config, so if you're using CI 3.* be sure your hosting is not setting this by default. It can be overridden by replacing the define()
with the CI 2.* version code string.