The following files exists in this folder. Click to view.
config.php
images/
index.php
pages/
placeholder.php
source.php
src/
stylesheet.css
<?php
//----------------
// config.php
//----------------
//
// Setting for the database connection
//
define('/* <em>DB_HOST, is removed and hidden for security reasons </em> */ );
define('/* <em>DB_USER, is removed and hidden for security reasons </em> */ );
define('/* <em>DB_PASSWORD, is removed and hidden for security reasons </em> */ );
define('/* <em>DB_DATABASE, is removed and hidden for security reasons </em> */ );
//
// The following supports having many databases in one database by using table/view prefix.
//
define('DB_PREFIX', 'blog_'); // Prefix to use infront of tablename and views
// -------------------------------------------------------------------------------------------
//
// Settings for this website (WS), used as default values in CHTMPLPage.php
//
define('WS_SITELINK', 'http://suli.se/school_blog/'); // Link to site.
define('WS_TITLE', 'Foogler Blog'); //The title of the page
define('WS_STYLESHEET', 'stylesheet.css'); // Default stylesheet of the site.
define('WS_FOOTER', 'Susanne Lindberg 2011'); // Footer at the end of the page.
// -----------------------------------------------------------------------------
//
// Settings for the template (TP) structure, where are everything?
// Support for storing in directories
//
// Classes, functions, code
define('TP_SOURCEPATH', dirname(__FILE__) . '/src/');
// Pagecontrollers and modules
define('TP_PAGESPATH', dirname(__FILE__) . '/pages/');
//
// Define the menu-array, slight workaround using serialize.
//
$wsMenu = Array (
'Source code' => 'source.php',
'ER-model' => '?p=ER',
'Reset the blog' => '?p=install',
);
define('WS_MENU', serialize($wsMenu)); // The menu