View file Krimos/settings.php

File size: 1.05Kb
<?php

// Криме / Krime

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

$devel = TRUE; // 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/username/public_html/krime'; // path to script, without / on the end
$s_sitename = 'Krimos'; // site name
$s_siteurl = 'http://krimos.tk'; // 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, sr/ru/en
$s_megacode = 'hiddencode'; // used for registration without invitation
$s_inviteonly = TRUE;
$s_bannedurl = 'http://krimos.tk/'; // where to redirect if banned

?>