Changeset 15780


Ignore:
Timestamp:
2007/09/20 15:20:48 (17 years ago)
Author:
nanasess
Message:

TPL_DIR を assign するように修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/SC_View.php

    r15710 r15780  
    7272            } 
    7373        } 
     74 
     75        // テンプレート変数を割り当て 
     76        $this->assign("TPL_DIR", URL_DIR . USER_DIR 
     77                      . "templates/" . TEMPLATE_NAME . "/"); 
    7478    } 
    7579 
     
    142146        $this->_smarty->template_dir = TEMPLATE_ADMIN_DIR; 
    143147        $this->_smarty->compile_dir = COMPILE_ADMIN_DIR; 
    144         $this->_smarty->default_modifiers = array('script_escape'); 
    145148        $this->initpath(); 
    146     } 
    147  
    148     function printr($data){ 
    149         print_r($data); 
    150149    } 
    151150} 
Note: See TracChangeset for help on using the changeset viewer.