'127.0.0.1', 'default_port' => 11211, 'default_weight' => 1); // TCP option // $_cache_config[] = array('default_host' => '/usr/local/var/run/memcache.sock', 'default_port' => 0, 'default_weight' => 1); // Unix socket option // MemCached caching option (database queries cache). Select only one $_cache_config option, TCP or Unix socket // define('OSC_CACHE', 'memcached'); // $_cache_config[] = array('default_host' => '127.0.0.1', 'default_port' => 11211, 'default_weight' => 1); // TCP option // $_cache_config[] = array('default_host' => '/usr/local/var/run/memcached.sock', 'default_port' => 0, 'default_weight' => 1); // Unix socket option // Redis caching option (database queries cache). Only one $_cache_config option supported, TCP or Unix socket // define('OSC_CACHE', 'redis'); // $_cache_config[] = array('default_host' => '127.0.0.1', 'default_port' => 6379, 'default_password' => ''); // TCP option // $_cache_config[] = array('default_host' => '/usr/local/var/run/redis.sock', 'default_port' => -1, 'default_password' => ''); // Unix socket option // Force disable URL encoding for non-latin characters // define('OSC_FORCE_DISABLE_URL_ENCODING', true); // Alpha & beta testing - experimental // define('ALPHA_TEST', true); // define('BETA_TEST', true); // Increase default login time for user // session_set_cookie_params(2592000); // ini_set('session.gc_maxlifetime', 2592000); // Enable Countries, Regions, Cities and Categories to be pre-loaded into PHP session. Recommended if there is just few hundreds of records // define('OPTIMIZE_CATEGORIES', false); // define('OPTIMIZE_CATEGORIES_LIMIT', 1000); // define('OPTIMIZE_CITIES', false); // define('OPTIMIZE_CITIES_LIMIT', 5000); // define('OPTIMIZE_REGIONS', false); // define('OPTIMIZE_REGIONS_LIMIT', 2000); // define('OPTIMIZE_COUNTRIES', false); // Disale tracing of user url history, so after login user is redirected back to original url before login // define('DISABLE_URL_HISTORY', false); // Premium search items randomization - higher value ignore effect of premium views. Default 2 means summarized premium views are divided by 2*1000, ceiled and sorted // define('SEARCH_PREMIUM_RAND_PARAM', 2); // Enable identification of custom route parameters at the end of url like: ?param1=xyz¶m2=abc&... // define('ROUTE_CUSTOM_QUERY_PARAMS', true); // Support route super-param sParams in form: sParams=param1,value1/param2,value2/... where single params are exploded to it's values // define('ROUTE_EXPLODE_SPARAMS', true); // define('ROUTE_EXPLODE_SPARAMS_DELIMITER', ','); // Import sql (plugin/theme installation) automatically change engine, charset and collate to expected ones // define('IMPORTSQL_FORCE_ENGINE', 'InnoDB'); // define('IMPORTSQL_FORCE_CHARSET', 'utf8mb4'); // define('IMPORTSQL_FORCE_COLLATE', 'utf8mb4_unicode_ci'); // Upgrade - do just soft utf8mb4 upgrade // define('UPGRADE_UTF8MB4_SOFT', true);