0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
3.2.0-5
/
standard
/
htdocs
/
lib
/
setup
/
[
Home
]
File: smarty.php
<?php // $Id: /cvsroot/tikiwiki/tiki/setup_smarty.php,v 1.45.2.3 2008-01-23 18:05:42 nyloth Exp $ //this script may only be included - so its better to die if called directly. if (strpos($_SERVER['SCRIPT_NAME'],basename(__FILE__)) !== FALSE) { header('location: index.php'); exit; die(); } //init the smarty settings that needs $prefs(prefs is not init in setup_smarty) if ($prefs['log_tpl'] == 'y') { $smarty->load_filter('pre', 'log_tpl'); } if ( $prefs['feature_sefurl_filter'] == 'y' ) { require_once ('tiki-sefurl.php'); $smarty->register_outputfilter('filter_out_sefurl'); }