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/post_igb.php

    r157 r190  
    11<?php 
    2 require_once("class.page.php"); 
    3 require_once("class.killboard.php"); 
    4 require_once("class.parser.php"); 
    5 require_once("class.phpmailer.php"); 
    6 require_once("class.kill.php"); 
     2require_once('common/includes/class.page.php'); 
     3require_once('common/includes/class.killboard.php'); 
     4require_once('common/includes/class.parser.php'); 
     5require_once('common/includes/class.phpmailer.php'); 
     6require_once('common/includes/class.kill.php'); 
    77 
    88$kb = new Killboard(KB_SITE); 
    99 
    10 $html = "<html><head><title>" . KB_TITLE . " Killboard - Post Mail" . "</title></head></html><body>"; 
     10$html = '<html><head><title>'.KB_TITLE.' Killboard - Post Mail</title></head></html><body>'; 
    1111 
    1212if (isset($_POST['killmail'])) 
     
    3434            elseif ($killid == -3) 
    3535            { 
    36                 $filterdate = date("j F Y", $config->getConfig("filter_date")); 
     36                $filterdate = kbdate("j F Y", $config->getConfig("filter_date")); 
    3737                $html = "You are not allowed to post killmails older than $filterdate."; 
    3838            }