$this->caching = false;
$this->config_overwrite = false;
$this->use_sub_dirs = false;
- $this->template_dir = $globals->spoolroot."/templates/";
- $this->compile_dir = $globals->spoolroot."/spool/templates_c/";
- array_unshift($this->plugins_dir, $globals->spoolroot."/plugins/");
- $this->config_dir = $globals->spoolroot."/configs/";
+ $this->template_dir = $globals->spoolroot . '/templates/';
+ $this->compile_dir = $globals->spoolroot . '/spool/templates_c/';
+ array_unshift($this->plugins_dir,
+ $globals->spoolroot . '/core/plugins/',
+ $globals->spoolroot . '/plugins/');
+ $this->config_dir = $globals->spoolroot . '/configs/';
$this->compile_check = !empty($globals->debug);
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-require_once 'platal.inc.php';
function smarty_compiler_checkpasswd($tag_attrs, &$compiler)
{
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-require_once 'platal.inc.php';
function smarty_compiler_javascript($tag_attrs, &$compiler)
{
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-require_once 'platal.inc.php';
-
function select_options($table,$valeur,$champ="text",$pad=false,
$where="",$join="",$group="")
{
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-require_once 'platal.inc.php';
function smarty_function_valid_date($params, &$smarty)
{
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-require_once 'platal.inc.php';
-
function smarty_modifier_htmlentities($string, $format = ENT_COMPAT)
{
return pl_entities($string, $format);
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-require_once 'platal.inc.php';
-
function smarty_modifier_miniwiki($string, $format = 'no_title')
{
return MiniWiki::wikiToHTML($string, $format == 'title');
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-require_once 'platal.inc.php';
function smarty_compiler_icon($tag_attrs, &$compiler)
{
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-require_once 'platal.inc.php';
function smarty_function_make_forlife($params, &$smarty)
{