Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!defined('ALLOWINC')) {
- exit();
- }
- define('OWNER', 'برمجة وتصميم أسرار الويب');
- define('OWNERURL', 'http://www.WebSecretsGroup.com');
- //DONT CHANGE THIS !!
- define('SALT', '8JNB7^854zq@3|websecretsgroup.com');
- require $setting['INC'] . '_func.php';
- require $setting['INC'] . '_func_more.php';
- require_once $setting['INC'] . 'class_db.php';
- $DB = Database::getInstance();
- $DB->cacheDir($setting['QCACHE']);
- if (!$setting['dontGetSetting']) {
- $option = $DB->fetch('SELECT * FROM `options` LIMIT 1', 2592000, 'site_', 'options', 'options', 1);
- }
- //qcache setting
- $DB->cache = $option[0]['cache_enable'];
- if ($option[0]['cache_enable']) {
- define('CACHE60', 60);
- define('CACHE180', 180);
- define('CACHE300', 300);
- define('CACHE900', 900);
- define('CACHEHOUR', 3600);
- define('CACHEDAY', 'daily');
- define('CACHEMONTH', 2592000);
- } else {
- define('CACHE60', 0);
- define('CACHE180', 0);
- define('CACHE300', 0);
- define('CACHE900', 0);
- define('CACHEHOUR', 0);
- define('CACHEDAY', 0);
- define('CACHEMONTH', 0);
- }
- //country Data
- $var['country'] = countries('prefix', COUNTRY);
- if ($var['country'] && $var['country'] != -1) {
- $country = $var['country'][0];
- ...............................................
- ........................
- ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement