private function createBuiltInServer()
    {
        $nb_server = new CNabuBuiltInServer();
        $nb_server_host = new CNabuBuiltInServerHost();

        $host_path = $this->nb_http_server->getHostBaseDirectory();
        $server_path = dirname($host_path);

        $nb_server->setBasePath(NABU_BASE_PATH);
        $nb_server->setVirtualHostsPath($server_path);

        $this->nb_http_server->setServer($nb_server);
        $this->nb_http_server->setServerHost($nb_server_host);
    }
private function createBuiltInServer()
    {
        $nb_server = new CNabuBuiltInServer();
        $nb_server_host = new CNabuBuiltInServerHost();

        $host_path = $this->nb_http_server->getHostBaseDirectory();
        $server_path = dirname($host_path);

        $nb_server->setBasePath(NABU_BASE_PATH);
        $nb_server->setVirtualHostsPath($server_path);

        $this->nb_http_server->setServer($nb_server);
        $this->nb_http_server->setServerHost($nb_server_host);
    }
private function createBuiltInServer ( ) { $ nb_server = new CNabuBuiltInServer ( ) ; $ nb_server_host = new CNabuBuiltInServerHost ( ) ; $ host_path = $ this -> nb_http_server -> getHostBaseDirectory ( ) ; $ server_path = dirname ( $ host_path ) ; $ nb_server -> setBasePath ( NABU_BASE_PATH ) ; $ nb_server -> setVirtualHostsPath ( $ server_path ) ; $ this -> nb_http_server -> setServer ( $ nb_server ) ; $ this -> nb_http_server -> setServerHost ( $ nb_server_host ) ; }
Create the BuiltIn Server.
If operation mode is setted to Standalone or Hosted, the BuiltIn Server is required due to the application
instance cannot run in more than one server.
@return CNabuBuiltInServer Returns the BuiltIn Server instance created and filled with their default values.
Create the BuiltIn Server . If operation mode is setted to Standalone or Hosted the BuiltIn Server is required due to the application instance cannot run in more than one server .