Preview: config.php
Size: 3.47 KB
/home/justbyquicklly-old/justbyquicklly/www/include/config.php
<?php
ob_start();
@session_start();
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(1);
define('MEALSID',"18854");
define('SAMOSA',"18855");
define('SITE_URL',"https://www.justbyquicklly.com/");
define('SITE_TITLE',"Just By Quicklly");
define('SITE_AUTHOR',"Just By Quicklly");
define('SITE_NAME',"Just By Quicklly");
define('SITE_KEYWORD', "quicklly, buy groceries, food online, buy food online, buy groceries online, local grocery stores, local restaurants, BBQ Kit, indian market near me, indian marketplace");
define('SITE_DESC', "Find local Grocery Stores & Restaurants online on Quicklly. Buy Groceries & Food online and get it delivered to your doorstep. Enjoy Free & Same Day Delivery.");
define('seller_url',"https://www.dev.goquicklly.com/seller");
define('seller_key',"sell groceries online, near by grocery store, sell products in online supermarket");
define('seller_desc',"Are you looking for an Online platform to sell Indian Groceries & Foods in USA? Your search ends here. Just create your account and start selling.");
define('seller_title',"Seller Portal - Login - Quicklly");
define('SHOW_QUERY_ERROR',true); // true for local and false for dev or uat or prod
define('GOOGLE_RECAPCHA_API','6LdsnYkaAAAAANxKtW6Zr8qHphwL5WvQCCp8sBLU');
define('API_URL',"https://www.webapi.quicklly.com/");
define('API_KEY',"sowcpdmrdqaxwip658khzovhonskbrhb");
define('callFrom',"WEBSITE");
define('WEBAPI_URL',"https://devrestapi.goquicklly.com/");
### Instacart SFTP details For Instacart SFTP###
define('INSTA_SFTP_HOST','sftp.instacart.com');
define('INSTA_SFTP_USER','quicklly-catalog');
define("INSTA_SFTP_PWD","vx=<gvbSbpCP6vq\\");
define('WEBAPI_URL_NEW',"https://ormwebapi.quicklly.com/");
define('WEBAPI_EMAIL',"[email protected]");
define('WEBAPI_PASS',"cgcptcu97b");
$domain=$_SERVER['HTTP_HOST'];
$website_currency_code="Dollar";
$website_currency_symbol="$";
$hashurl=$_SERVER['REQUEST_URI'];
if(strpos($hashurl, '//') !== false || strpos($hashurl, '##') !== false || strpos($hashurl, '??') !== false || strpos($hashurl, ':') !== false || strpos($hashurl, '--') !== false) {
$hashurl=str_replace('//', '/', $hashurl);
$hashurl=str_replace('##', '#', $hashurl);
$hashurl=str_replace('??', '?', $hashurl);
$hashurl=str_replace(':', '', $hashurl);
$hashurl=str_replace('--', '-', $hashurl);
$hashurl=ltrim(rtrim($hashurl,'/'),'/');
header("HTTP/1.1 301 Moved Permanently");
header("Location:" . SITE_URL . $hashurl);
exit;
}
/*
$price_zone1="3"; //leave blank if not applicable, this is only for local
$price_zone2="30"; //leave blank if not applicable
$price_zone3="40"; //leave blank if not applicable
$price_zone4="60"; //leave blank if not applicable
$price_zone5="60"; //leave blank if not applicable
*/
$wholesale_url="https://www.wholesale.myvalue365.com/";
//removing trailling / and reloading page without slash
if(basename($_SERVER['SCRIPT_NAME'])!='index.php' ){
if(($_SERVER['REQUEST_URI'] != "/") and preg_match('{/$}',$_SERVER['REQUEST_URI'])) {
header ('Location: '.preg_replace('{/$}', '', $_SERVER['REQUEST_URI']));
exit();
}
}
$host = 'localhost';
$username = 'justbyquicklly_1';
# $username = 'devgoquick';
# $password ='%WDoa33ZegjLdeb!';
$password ='&wUnsH#^k{3r';
# $db_name = 'devgoquicklly_quickllydb';
$db_name = 'justbyquicklly_1';
date_default_timezone_set("America/Chicago");
require_once("db.class.php");
require_once("variable.php");
$obj = new DB($db_name, $host, $username, $password);
?>
Directory Contents
Dirs: 0 × Files: 6