Changeset 375

Show
Ignore:
Timestamp:
06/15/09 14:00:42 (11 years ago)
Author:
kovell
Message:

Fix apicache problem in the admin panel
Fix initial display of apoc fitting panel

Location:
dev
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • dev/common/admin/admin_apimod.php

    r370 r375  
    66 
    77require_once('common/includes/class.eveapi.php'); 
    8 require_once('common/includes/class.apicache.php'); 
    98require_once("common/admin/admin_menu.php"); 
    109 
  • dev/common/includes/class.eveapi.php

    r370 r375  
    1515require_once( "common/includes/db.php" ); 
    1616require_once('common/includes/class.apicache.php'); 
     17 
     18$ApiCache = new ApiCache(KB_SITE); 
    1719 
    1820// Checks for configuration of files and folders 
  • dev/common/includes/globals.php

    r370 r375  
    77else 
    88{ 
    9         $svn_rev = '370'; 
     9        $svn_rev = '375'; 
    1010} 
    1111define('SVN_REV', $svn_rev); 
  • dev/mods/apoc_fitting/kill_detail.php

    r370 r375  
    88$page=new Page('Kill details'); 
    99$page->addHeader('<link rel="stylesheet" type="text/css" href="mods/apoc_fitting/style.css">'); 
     10 
     11// check apoc settings are set up. If not, put defaults in. 
     12if(!config::get('apocfitting_colour')) 
     13{ 
     14        config::set('apocfitting_colour', 'apoc'); 
     15        config::set('apocfitting_themedir', 'panel'); 
     16} 
    1017 
    1118$smarty->assign('panel_colour', config::get('apocfitting_colour'));