Location: PHPKode > projects > KISSCMS > kisscms-1.7.0/app/bin/config.php
<?php


//===============================================
// KISSCMS Settings 
//===============================================

if( class_exists('Config') && method_exists(new Config(),'register')){ 
	$config = new Config();
	$GLOBALS['config'] = $config->getConfig();
	
	// Register variables
	Config::register("main", "site_name", "KISSCMS");
	Config::register("main", "site_description", "Lightweight CMS based on the KISSMVC Framework");
	Config::register("main", "site_author", "Your Name or Company");
	
	Config::register("main", "default_route", "main");
	Config::register("main", "default_action", "index");
	
	Config::register("main", "default_template", "default.php");
	
	Config::register("main", "db_pages", "pages.sqlite");
	
	Config::register("admin", "admin_username", "admin");
	Config::register("admin", "admin_password", '$1$VGthOaJJ$o7GR6b657c7mtrOCTLZgO.');
	
	// Definitions
	define('DEFAULT_ROUTE', $GLOBALS['config']['main']['default_route']);
	define('DEFAULT_ACTION', $GLOBALS['config']['main']['default_action']);
	
	define('DEFAULT_TEMPLATE', $GLOBALS['config']['main']['default_template']);
	define("ADMIN_TEMPLATE", "admin.php");
	define("LISTINGS_TEMPLATE", "listings.php");
	
	
	define('DB_PAGES', $GLOBALS['config']['main']['db_pages']); 
}

//===============================================
// PHP.INI configuration
//===============================================
ini_set('session.gc_maxlifetime',300);
ini_set('display_errors','On');
error_reporting(E_ALL);

?>
Return current item: KISSCMS