Subversion Repositories eFlore/Applications.cel

Rev

Rev 418 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 418 Rev 3473
Line 137... Line 137...
137
     * Sets HTTP version.
137
     * Sets HTTP version.
138
     * 
138
     * 
139
     * @access  public
139
     * @access  public
140
     * @return  object  HTTP_Header
140
     * @return  object  HTTP_Header
141
     */
141
     */
142
    function HTTP_Header()
142
    function __construct()
143
    {
143
    {
144
        if (isset($_SERVER['SERVER_PROTOCOL'])) {
144
        if (isset($_SERVER['SERVER_PROTOCOL'])) {
145
            $this->setHttpVersion(substr($_SERVER['SERVER_PROTOCOL'], -3));
145
            $this->setHttpVersion(substr($_SERVER['SERVER_PROTOCOL'], -3));
146
        }
146
        }
147
    }
147
    }