<?php
require_once( '../libs/built/patconfiguration/patConfiguration.php' );
require_once( '../libs/built/adodb/adodb.inc.php' );
require_once( '../libs/built/smarty/Smarty.class.php' );
require_once( '../libs/built/forms/forms.php' );
require_once( '../libs/built/smarty/plugins/prefilter.form.php' );
$db = NewADOConnection( 'mysql' );
$db->PConnect( 'localhost', 'portfolio', 'portfolio', 'portfolio' );
$tmpl1 = &new Smarty();
$tmpl1->compile_dir = dirname( __FILE__ ) . '/_tmp/compile/';
$tmpl2 = &new Smarty();
$tmpl2->compile_dir = dirname( __FILE__ ) . '/_tmp/compile/';
$form = &new form_class();
$conf = &new patConfiguration(
array(
"errorHandling" =>"return",
"encoding" =>"UTF-8"
)
);
?>
|