<?php

require_once("Smarty/libs/Smarty.class.php");

class MySmarty extends Smarty {

    function MySmarty () {

        $this->Smarty();

        $mydir = dirname(__FILE__);
        $this->template_dir = "$mydir/templates/";
        $this->compile_dir = "$mydir/templates_c/";
        $this->config_dir = "$mydir/configs/";
        $this->cache_dir = "$mydir/cache/";

        $this->caching = 0;

    }
}

?>