Show
Ignore:
Timestamp:
03/16/07 17:12:55 (16 years ago)
Author:
exi
Message:

This is a big update...
Moved all admin scripts to common/admin.
Moved all includes and classes to common/includes.
Edited all include-paths to reflect the movement.
Fixed a bug with the session system allowing every registered user to access admin pages.
Replaced calls to date() to use a wrapper so gmdate can be used.
Replaced some calls to $config with calls to the static object.
Fixed a big which caused the portrait_grab to not download a new picute.
Added a classified-state to kills.
Removed the sync_server server script in this tree.
Added code to help modules find the includes to index.php.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/comments.php

    r130 r190  
    11<?php 
    2 require_once('class.comments.php'); 
     2require_once('common/includes/class.comments.php'); 
    33 
    44$comments = new Comments($kll_id); 
     
    1414        if ($_POST['comment'] == '') 
    1515        { 
    16             $html .= "Error: Silent type hey? good for you, bad for a comment."; 
     16            $html .= 'Error: Silent type hey? good for you, bad for a comment.'; 
    1717        } 
    1818        else 
     
    2222            if ($name == null) 
    2323            { 
    24                 $name = "Anonymous"; 
     24                $name = 'Anonymous'; 
    2525            } 
    2626            $comments->addComment($name, $comment); 
     
    3030    { 
    3131        // Password is wrong 
    32         $html .= "Error: Wrong Password"; 
     32        $html .= 'Error: Wrong Password'; 
    3333    } 
    3434}