Changeset 190 for dev/mods

Show
Ignore:
Timestamp:
03/16/07 17:12:55 (13 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.

Location:
dev/mods
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • dev/mods/mail_forward/init.php

    r185 r190  
    66    function handler($object) 
    77    { 
    8         require_once('common/class.http.php'); 
     8        require_once('common/includes/class.http.php'); 
    99 
    1010        $req = new http_request(config::get('forward_site').'?a=post'); 
  • dev/mods/rss_feed/rss.php

    r149 r190  
    77*/ 
    88 
    9 require_once("common/class.corp.php"); 
    10 require_once("common/class.alliance.php"); 
    11 require_once("common/class.killlist.php"); 
    12 require_once("common/class.killlisttable.php"); 
     9require_once("common/includes/class.corp.php"); 
     10require_once("common/includes/class.alliance.php"); 
     11require_once("common/includes/class.killlist.php"); 
     12require_once("common/includes/class.killlisttable.php"); 
    1313require_once("class.rss.php"); 
    1414 
  • dev/mods/signature_generator/sig.php

    r165 r190  
    2323    errorPic('No pilot id specified.'); 
    2424} 
    25 require_once("common/class.pilot.php"); 
    26 require_once("common/class.corp.php"); 
    27 require_once("common/class.alliance.php"); 
    28 require_once("common/class.killlist.php"); 
     25require_once("common/includes/class.pilot.php"); 
     26require_once("common/includes/class.corp.php"); 
     27require_once("common/includes/class.alliance.php"); 
     28require_once("common/includes/class.killlist.php"); 
    2929 
    3030$pilot = new Pilot($plt_id); 
  • dev/mods/signature_generator/sig_list.php

    r87 r190  
    11<?php 
    2 require_once("common/class.page.php"); 
     2require_once('common/includes/class.page.php'); 
    33 
    4 $page = new Page("Signature Listing"); 
     4$page = new Page('Signature Listing'); 
    55 
    66$signatures = array();