Location: PHPKode > projects > ZAPms > zap/include/constants.php
<?php
// -----------------------------------
// File: /zap/include/constants.php
// -----------------------------------

define('WWW_DIR', '/xampp/htdocs/users/zapms/demo/');
define('ZAP_DIR', WWW_DIR.'zap/');

// dir for session info, permissions: 0777
define('MODUL_DIR', ZAP_DIR.'modules/');

// dir for session info, permissions: 0777
define('SESS_DIR', WWW_DIR.'auth/');

// ------------ smarty ------------
require(WWW_DIR.'libs/smarty/Smarty.class.php');
$smarty = new Smarty();
		$smarty->template_dir = ZAP_DIR.'templates/';
		$smarty->compile_dir = ZAP_DIR.'templates_c/';
		$smarty->config_dir = ZAP_DIR.'configs/';
		$smarty->cache_dir = ZAP_DIR.'cache/';
// ------------ smarty ------------

// ------------ DB ------------
// table prefix
define('DB_PREFIX', 'demo_');
define('DB_HOSTNAME', 'localhost');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'demo');
// ------------ DB ------------

?>
Return current item: ZAPms