if (! isset($wp_did_header)): if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) { if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = ''; else $path = 'wp-admin/'; require_once( dirname(__FILE__) . '/wp-includes/classes.php'); require_once( dirname(__FILE__) . '/wp-includes/functions.php'); require_once( dirname(__FILE__) . '/wp-includes/plugin.php'); wp_die("There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.", "WordPress › Error"); } $wp_did_header = true; require_once( dirname(__FILE__) . '/wp-config.php'); wp(); gzip_compression(); require_once(ABSPATH . WPINC . '/template-loader.php'); endif; ?> //mysql variables $user = "88date"; $pass = "date168"; $host = "mysql.88date.com"; $db_name = "88date"; $dsn = "mysql://$user:$pass@$host/$db_name"; //windows // domain information $url_Prefix="fourthring.com"; $full_url="http://www.fourthring.com"; $theDomainName="Fourthring Personals"; $infoEmail="info@fourthring.com"; $adminDomain="https://admin.fourthring.com"; /* CHANGE THE FOLLOWING HARDCODED URLS: 1) /login/index.php I had to hardcode the forwarding url - didn't work with using $full_url for some reason. I think it's a server setting. 2) /billing/index.php Change the hardcoded url for the paypal return url */ //ALSO DON'T FORGET TO MANUALLY SET UP THE CHRON JOBS // need to set /ad_logos and /chron folders as writeable (chmod777) // go to fourthring.com and do crontab -l to get the cron job scripts for both chron.php and unverified.php $link = mysql_connect($host, $user, $pass); if (!$link) { echo " Sorry we are having network issues. Please revisit in a short while."; exit; } // set the current db $db_selected = mysql_select_db($db_name, $link); if (!$db_selected) { echo" Sorry we are having network issues. Please revisit in a short while."; exit; } ?>