Jelix\Core\AppInstance::setPaths PHP Method

setPaths() public method

public setPaths ( $appPath, $wwwPath = null, $varPath = null, $logPath = null, $configPath = null, $scriptPath = null )
    public function setPaths($appPath, $wwwPath = null, $varPath = null, $logPath = null, $configPath = null, $scriptPath = null)
    {
        $this->appPath = $appPath;
        $this->wwwPath = is_null($wwwPath) ? $appPath . 'www/' : $wwwPath;
        $this->varPath = is_null($varPath) ? $appPath . 'var/' : $varPath;
        $this->logPath = is_null($logPath) ? $this->varPath . 'log/' : $logPath;
        $this->configPath = is_null($configPath) ? $this->varPath . 'config/' : $configPath;
        $this->scriptPath = is_null($scriptPath) ? $appPath . 'scripts/' : $scriptPath;
    }