Banshee PHP framework

Installation

Webserver

To install Banshee, unpack the zipfile to a suitable location. In your webserver configuration, point the document root to the directory named 'public'. Enable PHP execution and URL rewriting. For the Hiawatha webserver, use the following UrlToolkit rule:

UrlToolkit {
    ToolkitID = banshee
    RequestURI isfile Return
    Match ^/(css|files|images|js|slimstat)($|/) Return
    Match ^/(favicon.ico|robots.txt|sitemap.xml)$ Return
    Match .*\?(.*) Rewrite /index.php?$1
    Match .* Rewrite /index.php
}

For the Apache webserver, a .htaccess file with the right settings for URL rewriting is already available in the 'public' directory. If you use a webserver other that Hiawatha or Apache, you need to create an URL rewriting rule that redirects all requests of non-existing files to /index.php.

PHP

Banshee needs PHP's MySQL and XSL module. Use the following PHP settings:

cgi.fix_pathinfo = 0 (when using FastCGI PHP), 1 (otherwise)
cgi.rfc2616_headers = 1 (when using Hiawatha) / 0 (when using Apache)
register_globals = Off
allow_url_include = Off

MySQL

To setup the MySQL database, change the database settings in 'settings/website.conf' and run the script 'database/setup_database'. This script will create a MySQL user, sets the required access rights for that user, creates the database and fills it with the content of the file 'database/mysql.sql'. The installed database already contains two users: 'admin' and 'user'. Both have the password 'banshee'.

Delete demo content or functionality

To delete all demo content, run the script 'database/clear_database'.

To remove a module from the framework, use the 'remove_module' script. Run it without a parameter to see all available modules.

Banshee

Go to the Settings page in the CMS and replace the present e-mail addresses with your own.