View file settings.php

File size: 1.03Kb
<?php

// Криме / Krime

@ini_set('register_globals', 'Off');

$devel = FALSE; // is this develop version? if yes, show megacode on registration page
if($devel)
  @ini_set('error_reporting', E_ALL);
else
  @ini_set('error_reporting', E_NONE);

$s_sqlhost = 'hostname'; // server hostname
$s_sqlbase = 'database'; // database name
$s_sqluser = 'username'; // username
$s_sqlpass = 'password'; // password

global $s_sql, $s_db;

$s_sql = ($s_sql == NULL ? NULL : $s_sql);
$s_db = ($s_db == NULL ? NULL : $s_db);

$s_scriptpath = '/home/mysite/public_html/krime'; // path to script, without / on the end
$s_sitename = 'MySite'; // site name
$s_siteurl = 'http://mysite.com/krime'; // site url, without / on the end
$s_email = str_replace(' ', '-', strtolower($s_sitename . '@' . str_replace('http://', '', $s_siteurl))); // site email
$s_deflang = 'en'; // default language, en/sr
$s_megacode = 'hiddencode'; // used for registration without invitation
$s_bannedurl = 'http://krimos.tk/'; // where to redirect if banned

?>