configurasi

Hanamichi Sakuraghi · Jun 5, 2014
mo tanya dong suhu,, gimana configurasi biar jadi xyz.com/id

thx
<?php
global $db_prefix,$config,$lang,$err,$baseURL;
@session_start();
error_reporting(E_ALL^E_NOTICE);
$db_type 		= 'mysql';
$db_host 		= 'mysql.xyz.com';
$db_name 		= 'db_xyz';
$db_username 	= 'admin';
$db_password 	= 'manager';
$db_prefix 		= 'wfm_';
$p_connect 		= false;
$lang			= array("Indonesia"=>"id","English"=>"en");
define('config',true);
define('minBasePATH','');
define('basePATH','/'.minBasePATH);
define('ADMbasePATH','administrator/');
define('baseROOT',$_SERVER['DOCUMENT_ROOT'].basePATH);
define('ADMbaseROOT',$_SERVER['DOCUMENT_ROOT'].basePATH.ADMbasePATH);
define('baseURL','http://'.$_SERVER['HTTP_HOST'].basePATH);
define('LANG',$_GET['lang']);
define('ADMbaseURL','http://'.$_SERVER['HTTP_HOST'].basePATH.ADMbasePATH);
define('SA','SESSIONADMIN');
define('CA','COOKIEADMIN');
define('SESSION','__session');
define('COOKIE','__cookie');
define('PAGES',baseROOT."module_pages/");
define('MODULES',baseROOT."modules/");
define('basePathImages','xyz.com/file_uploads/images/');
define('basePathFiles','xyz.com/file_uploads/files/');
define('adminLogined',"login");
echo adminLogined;

?>
Silahkan login untuk menjawab!
0
Loading...
Ellyx Christian · Jul 23, 2014 · 0 Suka · 0 Tidak Suka