Changeset 14816
- Timestamp:
- 02/08/08 17:36:41 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midgard/data/midgard_admin_sitewizard_creator_host.php
r13600 r14816 182 182 $this->root_page->sitegroup = $this->sitegroup->id; 183 183 $this->root_page->up = 0; 184 $this->root_page->name = $this->host->name . $this->host->prefix . " root";185 $this->root_page->content = "<?php \$_MIDCOM->content(); ?>\n";184 $this->root_page->name = $this->host->name . $this->host->prefix . ' root'; 185 $this->root_page->content = '<?php $_MIDCOM->content(); ?>'; 186 186 $this->root_page->author = 1; 187 187 $this->root_page->info = 'active'; … … 200 200 throw new midgard_admin_sitewizard_exception("Failed to create root page for sitegroup GUID " 201 201 . $this->sitegroup->guid); 202 } 202 } 203 203 else 204 204 { … … 212 212 $code_finish->info = 'inherit'; 213 213 $code_finish->sitegroup = $this->sitegroup->id; 214 $code_finish->value = "<?php \$_MIDCOM->finish(); ?>\n";214 $code_finish->value = '<?php $_MIDCOM->finish(); ?>'; 215 215 216 216 if (!$code_finish->create())
