<?php
///////////////////////////////////////////////////////////////////////////////
// "Template Interface Engine" Configuration File
//
// Version 1.0
// This is configuration file intended to use by "Template Interface Engine"
// Copyright (c) 2005-2006 by Muhamad Zakaria <hide@address.com>
//
// Template Interface Engine is released under the terms of the LGPL license
// http://www.gnu.org/copyleft/lesser.html#SEC3
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
///////////////////////////////////////////////////////////////////////////////
// Configuration for special enclosed tag used by the class
// Set as a couple example below since it will be treated as comment HTML tag by some WYSIWYG HTML Editor
// However, you can use your own style tags ;)
// This is PCRE regex compatible
$config['open_tag'] = '<!--';
$config['close_tag'] = '-->';
// And so for the var tags
// This is PCRE regex compatible
$config['open_var'] = '{$';
$config['close_var'] = '$}';
// Special tags which will not be treated as var tags
// Then these strings will be converted by the related couple above
// This is also PCRE regex compatible
$config['spec_open_var'] = '\{\$';
$config['spec_close_var'] = '\$\}';
// Denied language construct to be used in 'logic expression' by the engine.
// Since there is no way how to grap PHP language construct, then we wrote down here
$config['deny_construct'] = array(
'array',
'return',
'include',
'require',
'list',
'empty',
'isset',
'echo',
'unset',
'isset',
'exit'
);
// By default all internal PHP function will be denied to be used in 'logic expression'.
// Allowed function entry below is the exception function may you are permitted to be used in
// 'logic expression'. Any exception PHP function you may use, you have to write down here explicitly.
$config['allow_function'] = array(
);
?>