Closed abdelkrimdev closed 8 years ago
There are a few ways. A simple one would be to set a variable in your .htaccess file, such as:
SetEnv app_env production
and then grab that in your plug-in by adding:
define('HERBERT_ENV', getenv('app_env'));
in the plugin.php file.
thanks a lot :)
@onnimonni This one should be labeled question and be closed.
hello where can i define the HERBERT_ENV variable ?