// Enable debugging // define('OSC_DEBUG', true); // show PHP error logs and notices // define('OSC_DEBUG_DB', true); // show DB queries // define('OSC_DEBUG_LOG', true); // save PHP errors & logs to oc-content/debug.log // define('OSC_DEBUG_DB_LOG', true); // save DB logs into oc-content/queries.log // define('OSC_DEBUG_DB_EXPLAIN', true); // save DB explain logs into oc-content/explain_queries.log // define('OSC_DEBUG_CACHE', true); // show cache debug information, when cache is enabled // define('OSC_DEBUG_DB_AJAX_PRINT', true); // print errors on ajax calls
// PHP memory limit (ideally should be more than 128MB) // define('OSC_MEMORY_LIMIT', '256M');
// Debug PHP mailer. OSC_DEBUG must be true. Error logs from PHPMailer goes to oc-content/debug.log automatically. // Accepted debug level values: 1 - client only, 2 - client and server (default), 3 - client, server and connection, 4 - low-level information // define('PHPMAILER_DEBUG_LEVEL', 1);
// Set cookies domain to transfer cookies & session across domain & subdomains. Enter 'yourdomain.com' to transfer cookies to subdomains. // After setting COOKIE_DOMAIN, clean cache, cookies and restart browser! // define('COOKIE_DOMAIN', 'yoursite.com');
// Cache options for OSC_CACHE: memcache, memcached, apc, apcu, default // Default cache means dummy one - just imitates cache // define('OSC_CACHE_TTL', 60); // Cache refresh time in seconds