Changeset 4435

Show
Ignore:
Timestamp:
01/03/13 11:21:12 (1 month ago)
Author:
demian
Message:

minor header updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/SGL/Output.php

    r4393 r4435  
    11161116    function getHeaders() 
    11171117    { 
    1118         return $this->aHeaders; 
     1118        $headers = $this->aHeaders; 
     1119        return $headers; 
    11191120    } 
    11201121 
  • trunk/lib/SGL/Task/Process.php

    r4410 r4435  
    123123                if ($req->getType() == SGL_REQUEST_BROWSER) { 
    124124                    SGL::displayMaintenancePage($output); 
     125                    header('HTTP/1.1 503 Service Temporarily Unavailable'); 
    125126                } 
    126127            } 
     
    269270                header('Last-Modified: ' . gmdate("D, d M Y H:i:s") . ' GMT'); 
    270271                header('Content-Type: text/html; charset=' . $GLOBALS['_SGL']['CHARSET']); 
    271                 header('X-Powered-By: Seagull http://seagullproject.org'); 
     272                header('X-Powered-By: Seagull Framework seagullproject.org'); 
    272273                foreach ($output->getHeaders() as $header) { 
    273274                    header($header);