classes/phing/Project.php
public function setSystemProperties()
    {

        // first get system properties
        $systemP = array_merge(self::getProperties(), Phing::getProperties());
        foreach ($systemP as $name => $value) {
            $this->setPropertyInternal($name, $value);
        }

        // and now the env vars
        foreach ($_SERVER as $name => $value) {
            // skip arrays
            if (is_array($value)) {
                continue;
            }
            $this->setPropertyInternal('env.' . $name, $value);
        }
    }
public function setSystemProperties()
    {

        // first get system properties
        $systemP = array_merge(self::getProperties(), Phing::getProperties());
        foreach ($systemP as $name => $value) {
            $this->setPropertyInternal($name, $value);
        }

        // and now the env vars
        foreach ($_SERVER as $name => $value) {
            // skip arrays
            if (is_array($value)) {
                continue;
            }
            $this->setPropertyInternal('env.' . $name, $value);
        }
    }
public function setSystemProperties ( ) { // first get system properties $ systemP = array_merge ( self :: getProperties ( ) , Phing :: getProperties ( ) ) ; foreach ( $ systemP as $ name => $ value ) { $ this -> setPropertyInternal ( $ name , $ value ) ; } // and now the env vars foreach ( $ _SERVER as $ name => $ value ) { // skip arrays if ( is_array ( $ value ) ) { continue ; } $ this -> setPropertyInternal ( 'env.' . $ name , $ value ) ; } }
Sets system properties and the environment variables for this project.

@return void
Sets system properties and the environment variables for this project .