some pretty common setups are done. nothing special.
own error/exception handlers.
session cookies.
$sessdir = ini_get('session.save_path') . DIRECTORY_SEPARATOR .
"xxxx-".THIS_NAME;
if (!is_dir($sessdir)) mkdir($sessdir, 0777);
ini_set('session.save_path', $sessdir);
set time zone.
BBCLONE counter.
header('Content-type: text/html; charset=utf-8');
autoloading is done like this:
require_once 'Zend/Loader/Autoloader.php';
$loader = Zend_Loader_Autoloader::getInstance();
$loader->setFallbackAutoloader(true);
$loader->registerNamespace('App_');
$include_path =
BASE_PATH ."lib" .
PATH_SEPARATOR .
BASE_PATH ."app/modules/X/models" .
PATH_SEPARATOR .
BASE_PATH ."app/modules/Y/models" .
PATH_SEPARATOR .
BASE_PATH ."app/helpers/view" .
PATH_SEPARATOR ;
set_include_path( $include_path . get_include_path());
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Strange-ZEND-class-loading-error-with-NOKIA-E72-phone-tp3466217p3466291.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]