Changeset 12163
- Timestamp:
- 09/12/07 13:17:16 (1 year ago)
- Files:
-
- trunk/midgard/data/midgard_quick_setup.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midgard/data/midgard_quick_setup.php
r12149 r12163 113 113 public function install_vhost() 114 114 { 115 midgard_setup_ log::write(_("Installing and configuringApache virtual host"));115 midgard_setup_cli::message(_("Preparing to configure Apache virtual host")); 116 116 117 try {118 119 $this->midgard_setup_vhost =120 new midgard_setup_vhost(&$this->midgard_setup_config,121 $this->host_name, $this->host_port);122 123 } catch (Exception $e) {124 125 midgard_setup_cli::error($e->getMessage());126 }127 128 117 /* TODO 129 118 * Try to get default host name */ 130 119 131 $default_hostname = "localhost";120 $default_hostname = exec("hostname"); 132 121 133 122 if(!isset($this->host_name)) … … 137 126 $value = $default_hostname; 138 127 139 $setup->set_vhost($value); 128 $this->set_vhost($value); 129 } 130 131 try 132 { 133 $this->midgard_setup_vhost = 134 new midgard_setup_vhost(&$this->midgard_setup_config, 135 $this->host_name, $this->host_port); 136 137 } catch (Exception $e) { 138 139 midgard_setup_cli::error($e->getMessage()); 140 140 } 141 141
