Changeset 14816

Show
Ignore:
Timestamp:
02/08/08 17:36:41 (10 months ago)
Author:
rambo
Message:

do not add extra newlines, refs #216. Do not use double quotes unless needed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midgard/data/midgard_admin_sitewizard_creator_host.php

    r13600 r14816  
    182182        $this->root_page->sitegroup = $this->sitegroup->id; 
    183183        $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(); ?>'
    186186        $this->root_page->author = 1; 
    187187        $this->root_page->info = 'active'; 
     
    200200            throw new midgard_admin_sitewizard_exception("Failed to create root page for sitegroup GUID "  
    201201                . $this->sitegroup->guid); 
    202         }      
     202        } 
    203203        else 
    204204        { 
     
    212212            $code_finish->info = 'inherit'; 
    213213            $code_finish->sitegroup = $this->sitegroup->id; 
    214             $code_finish->value = "<?php \$_MIDCOM->finish(); ?>\n"
     214            $code_finish->value = '<?php $_MIDCOM->finish(); ?>'
    215215             
    216216            if (!$code_finish->create())