<?php
/**
* $Id: class.template.php,v 1.6 2004/11/28 18:52:56 openface Exp $
*
* _ _ _ _
* _ __ ___ __| (_)__ _ (_)_ _ __| |_____ _____ _ _
* | ' \/ -_) _` | / _` | | | ' \/ _` / -_) \ / -_) '_|
* |_|_|_\___\__,_|_\__,_| |_|_||_\__,_\___/_\_\___|_|
*
* Standalone Indexer Script for Media Files
* jason hines, <hide@address.com>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 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 Library
* General Public License for more details.
*/
set_include_path(_BASEPATH . '/lib/Savant2:'.get_include_path());
include_once(_BASEPATH."/lib/Savant2/Savant2.php");
/**
* Template class extends Savant2, sets default behavior
*
* @version $Revision: 1.6 $
* @package mediaIndexer
* @author jason hines, <hide@address.com>
*/
class template extends Savant2 {
function template() {
$conf = array(
'template_path' => _BASEPATH . '/tpl/',
'resource_path' => array(
_BASEPATH . '/lib/Savant2/Savant2',
_BASEPATH . '/classes/',
),
'error' => 'exception',
'extract' => true,
'template' => 'index.tpl.php'
);
Savant2::Savant2($conf);
}
}
?>