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

    r212 r213  
    66{ 
    77    $pw = false; 
    8     if (!config::getConfig('comments_pw') || $page->isAdmin()) 
     8    if (!config::get('comments_pw') || $page->isAdmin()) 
    99    { 
    1010        $pw = true; 
    1111    } 
    12     if ($_POST['password'] == $config->getPostPassword() || $pw) 
     12    if ($_POST['password'] == config::get("post_password") || $pw) 
    1313    { 
    1414        if ($_POST['comment'] == '')