Skip to content

Instantly share code, notes, and snippets.

@vedovelli
Created January 8, 2012 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vedovelli/1579213 to your computer and use it in GitHub Desktop.
Save vedovelli/1579213 to your computer and use it in GitHub Desktop.
SmartyConnect.php
<?php
require_once 'smarty/libs/Smarty.class.php';
class SmartyConnect extends Smarty{
function SmartyConnect(){
parent::__construct();
$this->caching = false;
//$this->debugging = true;
$this->template_dir = dirname(__FILE__)."/templates";
$this->config_dir = dirname(__FILE__)."/config";
$this->cache_dir = dirname(__FILE__)."/cache";
$this->compile_dir = dirname(__FILE__)."/templates_c";
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment