File size: 2.34Kb
<?php
#********************************** AgS MOD DOWNLOAD CENTR SEA *************************************#
#***************************************************************************************************#
# /||||||||||||||| ********************* /||||||||||||||| ********************* /||||||||||||||| #
# | ||||||||||||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | |||||/////||||| ********************* | |||||///////// ********************* | |||||///////// #
# | ||||| | ||||| ****** E-MAIL ******* | ||||| ****** WAP/WEB ****** | ||||| #
# | ||||| | ||||| *** [email protected] *** | ||||| * http://ags.h2m.ru * | ||||||||||||||| #
# | ||||| | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | ||||| | ||||| ********************* | |||||/////||||| ********************* |///////////||||| #
# | ||||||||||||||| ****** SKYPE ******** | ||||| | ||||| ***** MOD AUTHOR **** | ||||| #
# | |||||////|||||| ***** agrizz15 ****** | ||||| | ||||| ***** Agris Cišs **** /||||||||||||||| #
# | ||||| | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# |///// |///// ********************* |/////////////// ********************* |/////////////// #
#***************************************************************************************************#
#********************************* MOD by AgS in 2010 @ LATVIA *************************************#
$con_text = file(BASE."dati/cfg.dat");
if ($con_text){
$con_data = explode("|",$con_text[0]);
$MY_serveris = $con_data[0]; # MySQL servera nosaukums ielādēm
$MY_DB = $con_data[1]; # MySQL servera datu bāze ielādēm
$MY_PW = $con_data[2]; # MySQL servera parole ielādēm
$MY_DB_user = $con_data[3]; # MySQL servera datu bāzes lietotājs ielādēm
$dir_script = $con_data[4]; # Ielāžu mape, kur atrodas skripts, galā nelikt "/" (piemēram loads, testdir/loads )
$MY_pre = $con_data[5]; # MySQL tabulu prefix
$cookies_key = $con_data[6]; # Cookies atslēga
$installs = $con_data[7]; #
}else {echo '<b>ERROR IN CONFIG!</b>'; exit;}
$config_configkeys = "8";
$time=time();
$sitetime=time()+(0*3600);
?>