PHP Code:
<?php
/**
*
* INDEXU
* Copyright(C), Nicecoder, 2000-2006, All Rights Reserved.
*
* INDEXU(tm) is protected by Indonesia and International copyright laws.
* Unauthorized use or distribution of INDEXU(tm) is strictly prohibited,
* violators will be prosecuted. To obtain a license for using INDEXU(tm),
* please register at Nicecoder home page at http://www.nicecoder.com
*
* Author:
* Dody Rachmat Wicaksono (dody@nicecoder.com)
* M. Zuber (zubby@nicecoder.com)
*
*/
define('APPLICATION_INCLUDED', 1);
/*===================================================
force to register_globals = on
===================================================*/
if (!ini_get('register_globals')) {
if(!empty($_GET)) extract($_GET, EXTR_SKIP);
if(!empty($_POST)) extract($_POST, EXTR_SKIP);
if(!empty($_COOKIE)) extract($_COOKIE, EXTR_SKIP);
}
/*===================================================
force to magic_quotes_gpc = on
===================================================*/
if (!get_magic_quotes_gpc()) {
function addslashes_deep($value)
{
$value = is_array($value) ? array_map('addslashes_deep', $value) : addslashes($value);
return $value;
}
if (!empty($_GET)) {
$_GET = addslashes_deep($_GET);
extract($_GET, EXTR_SKIP);
}
if (!empty($_POST)) {
$_POST = addslashes_deep($_POST);
extract($_POST, EXTR_SKIP);
}
if (!empty($_COOKIE)) {
$_COOKIE = addslashes_deep($_COOKIE);
extract($_COOKIE, EXTR_SKIP);
}
}
/*===================================================
config
===================================================*/
$dbServer = "mysql";
$dbHostname = "localhost";
$dbUsername = "xxx";
$dbPassword = "xxx";
$dbName = "xxx";
$site_url = "http://www.mydomain.com";
$base_path = "/home/xxx/webxxx/html/indexu/";
$theme_path = $base_path . "themes/";
$admin_template_path = $base_path . "admin_tpl/";
$site_name = "Name of my site";
$active_theme = 'kosmos';
$email_address = "webmaster@mysite.com";
$spam_proof = 1;
$enable_user_validation = 1;
$allowed_file_extention = "gif,jpg,png,pdf,zip,doc";
$google_key = "xxx";
$whosonline = "600";
$reciprocal_check = 0;
$urlcheck_limit = 1; // days for re-check url
$pagerank_cache = 30; // days caching pagerank
$max_image_width = 1024; // in pixel
$max_image_height = 756; // in pixel
$max_file_size = 80; // in KB
$only_registered_can_add_link = 0;
$only_registered_can_add_review = 0;
$db_use_persistent = 0;
$paid_link_day_period = "30,60,90,180";
$paid_link_price_factor = "1,1.5,2,3";
$enable_html_tag = 1;
$allowed_html_tag = "<b>,<strong>,<i>,<em>,<u>,<pre>,<blockquote>,<ol>,<ul>,<li>,<br>";
/*===================================================
include
===================================================*/
include ($base_path . "lib/db.class.php");
if (!defined('CACHED_PAGE')) {
include ($base_path . "lib/pagination.class.php");
include ($base_path . "lib/users.class.php");
include ($base_path . "lib/category.class.php");
include ($base_path . "lib/link.class.php");
include ($base_path . "lib/mailing_list.class.php");
include ($base_path . "lib/template.lib.php");
include ($base_path . "lib/form_validation.lib.php");
include ($base_path . "lib/misc.lib.php");
include ($base_path . "lib/mod-rewrite.lib.php");
include ($base_path . "lib/http.lib.php");
include ($base_path . "lib/auth/auth.class.php");
}
/*===================================================
php configuration
===================================================*/
ini_set("max_execution_time", "60");
ini_set('session.use_trans_sid', false);
ini_set('session.use_only_cookies', true);
ini_set('url_rewriter.tags', '');
if (!defined('CACHED_PAGE')) {
$dbConn = new DB_Connection($dbHostname, $dbUsername, $dbPassword, $dbName);
}
$indexu_version = "5.2.0";
?>
So what should I do first now? Should I upload all files from the nightly build first? Or should I go straight forward on the SVN Server changing all files step by step?