18. satır diyor diye 18. satırı yazmıştım ama
<?php
//---------------------------------\\
// Script Kurulum \\
// \\
//------------------------------------\\
// Config vars - absolutely needed before anything really happens.
///////////////////////////////////
// License key
$cfg['licensekey'] = "******";
// The local path on your server of Script, INCLUDING THE TRAILING SLASH.
// This should be something like /home/yourdir/public_html/ or C:/Domains/script.com/
$cfg['instdir'] = 'C:\Program Files\EasyPHP 2.0b1\www\gamesite\';
// The Internet URL of Script, INCLUDING THE TRAILING SLASH.
// This should be something like http://www.example.com/
$cfg['baseurl'] = 'http://localhost/gamesite/';
// Your MySQL database information information
$cfg['sqluser'] = 'oyuncu';
$cfg['sqlpass'] = '******';
$cfg['sqldb'] = 'flashgame';
$cfg['sqlhost'] = 'localhost';
// The title of your homepage. The global site title can be changed in the admin area.
$cfg['pagetitle'] = 'Grafigame';
///////////////////////////////////
function critcalerror($text) {
echo "<body style='background-color: #CCCCCC;'><div style='color: #FF0000; font-weight: bold; text-align: center; border: 1px solid #000000; background-color: #FFFFFF; margin: 8px; padding: 4px;'>".$text."</div></body>";
die();
}
function obcallback($buffer) {
return obcallbackreplace($buffer);
}
if (!isset($adminarea)) {
ob_start("obcallback");
}
include "mysql.php";
include "plugins/functions.php";
$db = new mysql;
$db->connect($cfg['sqlhost'], $cfg['sqluser'], $cfg['sqlpass'], $cfg['sqldb']);
// magic_quotes sucks big time
if (get_magic_quotes_gpc() == 1) {
$_REQUEST = array_map("stripslashes", $_REQUEST);
$_GET = array_map("stripslashes", $_GET);
$_POST = array_map("stripslashes", $_POST);
$_COOKIE = array_map("stripslashes", $_COOKIE);
}
set_magic_quotes_runtime(0);
if (isset($adminarea) && !isset($_GET["act"])) {
include $cfg['instdir']."license.php";
}
// No access to admin area until files are removed.
if ((is_readable($cfg['instdir']."installer.php") || is_readable($cfg['instdir']."sql.sql")) && (isset($adminarea)) && (basename($_SERVER["SCRIPT_FILENAME"])!="installer.php")) {
critcalerror("Please delete installer.php and sql.sql from your installation directory.");
}
?>