Changeset 213 for dev/common/home.php

Show
Ignore:
Timestamp:
05/08/07 16:40:42 (16 years ago)
Author:
ralle030583
Message:

All files (i hope i havent forgott something) was modified to use the the config in this way:
- config::get($key)
- config::del($key)
- config::set($key,value)

Exception Templates/Smarty?:
The templates still uses $config->get($key) and $config->set($key,$value) cause
it seems that smarty dont like the :: notification

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/home.php

    r212 r213  
    6767 
    6868// bad hax0ring, we really need mod callback stuff 
    69 if (strpos(config::getConfig('mods_active'), 'rss_feed') !== false) 
     69if (strpos(config::get('mods_active'), 'rss_feed') !== false) 
    7070{ 
    7171    $html .= "<div class=kb-kills-header><a href=\"?a=rss\"><img src=\"mods/rss_feed/rss_icon.png\" alt=\"RSS-Feed\" border=\"0\"></a>&nbsp;20 most recent kills</div>"; 
     
    116116$page->addContext($tkbox->generate()); 
    117117 
    118 if ($config->getKillPoints()) 
     118if (config::get('kill_points')) 
    119119{ 
    120120    $tklist = new TopScoreList();