Skip to content

Instantly share code, notes, and snippets.

@daslicht
Created June 21, 2014 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daslicht/022842205a4b77206375 to your computer and use it in GitHub Desktop.
Save daslicht/022842205a4b77206375 to your computer and use it in GitHub Desktop.
<?php
error_reporting(E_ALL);
global $project;
$project = 'mysite';
global $databaseConfig;
$databaseConfig = array(
"type" => 'MySQLDatabase',
"server" => '127.0.0.1',
"username" => 'root',
"password" => '',
"database" => 'ss_capesideport',
"path" => '',
);
// Set the site locale
i18n::set_locale('en_US');
ini_set("log_errors", "On");
ini_set("error_log", "php.log");
SS_Log::add_writer(new SS_LogFileWriter('ss.log'), SS_Log::WARN, '<=');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment