Login   Register  
PHP Classes
elePHPant
Icontem

File: global.class.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of invitro  >  Navelo CMS  >  global.class.php  >  Download  
File: global.class.php
Role: Configuration script
Content type: text/plain
Description: Global other class config
Class: Navelo CMS
A complete Content Management System
Author: By
Last change:
Date: 10 years ago
Size: 912 bytes
 

Contents

Class file image Download
<?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" 
                                    

                              ); 

?>