Hey guys yet i found another issues as im working with smarty 3 alogn
with developing my cms and extending its class but yet smarty 3
creates its own autoload class which was working fine before took me a
while to find the problem which was kicking my custom autoload out
does smarty have some way to also register my own or there something
which i have to change for example i have an class loader basically
its an abstract class that will atempt to register an class to its not
includes all the time and only loads when its needed to save memory
etc
but before the class itself i register the class like this sample
below is my snipet of my source
<?php
/**
* @package Dazzle CMS
* @copyright Copyright (c) 2009, Dazzle CMS, Inc.
* @license
http://www.opensource.org/licenses/gpl-3.0.html
* @link
http://www.dazzlecms.com
* @filesource version.php
*/
/**
* @ignore
*/
if (!defined('DAZZLE_CMS'))
{
exit;
}
spl_autoload_register(array('loader','load'));
/**
* libaries loader
*
* @package dazzle
* @since 1.0
*/
abstract class loader
{
private static $paths = array();
private static $classes = array();
static protected $_instance = NULL;
etc