Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*-----------------------------------------------------------------------------+
- | eMagicOne |
- | Copyright (c) 2012-2014 eMagicOne.com <contact@emagicone.com> |
- | All rights reserved |
- +------------------------------------------------------------------------------+
- | |
- | PHP MySQL Bridge |
- | |
- | Bridge is just another way to connect to your database. |
- | Normally program uses direct MySQL connection to remote database installed at|
- | website or some other web server. In some cases this type of connection does |
- | not work - your hosting provider may not allow direct connections or your |
- | LAN settings/firewall prevent connection from being established. |
- | Bridge allows you to work with remote database with |
- | no direct MySQL connection established. |
- | |
- | |
- | Developed by eMagicOne, |
- | Copyright (C) 2012-2014 |
- +-----------------------------------------------------------------------------*/
- $version = '$Revision: 7.39 $';
- // Please change immediately
- // it is security threat to leave these values as is!
- $username = 'NewUser';
- $password = 'ebykrwfe443ewf';
- $database_extension = 'auto'; // 'auto', 'pdo', 'mysqli', 'mysql'
- // Please create this directory or change to any existing temporary directory
- // temporary directory should be writable by php script (chmod 0777)
- $temporary_dir = "./tmp"; // on some systems if you get output with 0 size, try to use some local temporary folder
- $allow_compression = true;
- //Values of $compress_level between 1 and 9 will trade off speed and efficiency, and the default is 6.
- //The 1 flag means "fast but less efficient" compression, and 9 means "slow but most efficient" compression.
- $compress_level = 6; // 1 - 9
- $limit_query_size = 8192; //Kb
- // Please enter your email address here to receive notifications
- //$user_email = 'YOUR@EMAIL-HERE.com';
- // You can define table prefix here - only tables with names starting with these characters will be stored by bridge and transferred to Store Manager.
- // Empty this value to tell bridge to use all tables except for those specified in $exclude_db_tables below
- // $include_db_tables = '';
- /*
- Please uncomments following database connection information if you need to connect to some
- specific database or with some specific database login information.
- By default PHP MySQL Bridge is getting login information from your shopping cart.
- This option should be used on non-standard configuration, we assume you know what you are doing
- */
- /*
- define('USER_DB_SERVER',''); // database host to connect
- define('USER_DB_SERVER_USERNAME',''); // database user login to connect
- define('USER_DB_SERVER_PASSWORD',''); // database user password to connect
- define('USER_DB_DATABASE',''); // database name
- define('USER_TABLE_PREFIX',''); // database prefix
- */
- // Do not store tables specified below. Use this variable to reduce size of the data retrieved from bridge
- // Specify table names delimited by semicolon ;
- $exclude_db_tables = 'log_*;dataflow_*;xcart_sessions_data;xcart_session_history;xcart_stats_shop;xcart_stats_pages_views;xcart_stats_pages;xcart_stats_pages_paths;amazonimport_*;bcse_catalog_sessions;bcse_catalog_config;google_*;zen_uti;zen_uti_*;emo_admin;emo_admin_*;emo_user_*;admin_activity_log';
- // In case ifyou have problems with data retrieving change this to a single quote
- define('QOUTE_CHAR', '"');
- error_reporting(E_ERROR | E_WARNING | E_PARSE); //good (and pretty enough) for most hostings
- if(!ini_get('safe_mode')) {
- @set_time_limit(0); //no time limiting for script, doesn't work in safe mode
- } else {
- @ini_set('max_execution_time'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement