public function enterLegacyRootDir()
    {
        $this->previousRunningDir = getcwd();
        if ($this->logger) {
            $this->logger->debug("Legacy kernel: Leaving '$this->previousRunningDir' for '$this->legacyRootDir'");
        }
        chdir($this->legacyRootDir);
    }
public function enterLegacyRootDir()
    {
        $this->previousRunningDir = getcwd();
        if ($this->logger) {
            $this->logger->debug("Legacy kernel: Leaving '$this->previousRunningDir' for '$this->legacyRootDir'");
        }
        chdir($this->legacyRootDir);
    }
public function enterLegacyRootDir ( ) { $ this -> previousRunningDir = getcwd ( ) ; if ( $ this -> logger ) { $ this -> logger -> debug ( "Legacy kernel: Leaving '$this->previousRunningDir' for '$this->legacyRootDir'" ) ; } chdir ( $ this -> legacyRootDir ) ; }
Changes the current working directory to the legacy root dir.
Calling this method is mandatory to use legacy kernel since a lot of resources in eZ Publish 4.x relatively defined.
Changes the current working directory to the legacy root dir . Calling this method is mandatory to use legacy kernel since a lot of resources in eZ Publish 4 . x relatively defined .