/** * Reads the configuration file (config/env.php) and include each of the * variables (retrieved in a form of associative array) to the Environment * Variable. Also store the configurations into static variable $env * * @static * @access public * @since Method available since Release 0.1.1 */ public static function setEnv() { if (self::$env === null) { self::$env = (require_once DSS_PATH . 'config/env.php'); } foreach (self::$env as $v => $a) { putenv($v . '=' . $a); } }