<?php
(!defined('SHINOBU')) ? exit : NULL;
/*****************************************************************************/
/* Database settings */
/* */
/* You have to modify these lines. */
/*****************************************************************************/
$db_type = 'mysqli'; // Set this to 'mysql' if you would like to use MySQL
$db_host = 'localhost';
$db_name = 'shinobu_02';
$db_user = 'root';
$db_password = '';
$db_persistent = false; // This setting works only for MySQL, not MySQLi
// Prefix for the tables in the database. Do NOT change this after you installed Shinobu!
define('DB_PREFIX', '');
/*****************************************************************************/
/* System configuration */
/* */
/* You might not have to modify these lines. */
/*****************************************************************************/
// Change this to your document root.
// example on linux: define('APP_ROOT', '/home/username/html_public/shinobu/');
// example on MacOSX: define('APP_ROOT', '/Users/username/Sites/shinobu/');
// example on windows: define('APP_ROOT', 'C:/wamp/www/shinobu/');
// The following line should work on every platform. Change it if you encounter troubles.
define('APP_ROOT', dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR);
// The full url to your shinobu installation.
// example: define('WEBSITE_URL', 'http://example.com/shinobu/');
// example: define('WEBSITE_URL', 'http://localhost/shinobu/');
// The following line should work on every platform. Change it if you encounter troubles.
define('WEBSITE_URL', 'http://' . $_SERVER['SERVER_NAME'] . rtrim(dirname(defined('SHINOBU_ADMIN') ? dirname($_SERVER['SCRIPT_NAME']) : $_SERVER['SCRIPT_NAME']),'/') . '/' );
// Set this to true if you would like to enable url rewriting.
define('MOD_REWRITE', false);
// Set this to true to enable debug mode.
define('SYSTEM_DEBUG', false);
// Set this to true to enable template compiling.
define('COMPILE_TEMPLATES', true);
// Shinobu version of this web site.
define('SHINOBU_VERSION', '0.2.5');
// Do NOT change this after you installed Shinobu!
define('SALT_LENGTH', 9);
// Cookie config
$cookie_name = 'shinobu_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = ''; // Some random characters should be entered here. Example: &^7hy\'Y&*88uhY&
// Uri pre/suf-fix
define('URI_PREFIX', MOD_REWRITE === true ? '': '?q=');
define('URI_SUFFIX', '.xhtml');
// User(group) id's
define('GUEST_GID', 1);
define('GUEST_UID', 1);
define('ADMIN_GID', 2);
// Define system paths
define('SYS_CORE_DIR', APP_ROOT.'system/core/');
define('SYS_LIBRARY_DIR', APP_ROOT.'system/lib/');
define('SYS_CACHE_DIR', APP_ROOT.'system/cache/');
define('SYS_LANG_DIR', APP_ROOT.'system/lang/');
define('SYS_THEME_DIR', APP_ROOT.'themes/');
define('SYS_THEME_PATH', WEBSITE_URL.'themes/'); // Url location to theme folder
?>