Index: branches/5.1.x/tools/debug_sample.php =================================================================== diff -u -N -r12127 -r12657 --- branches/5.1.x/tools/debug_sample.php (.../debug_sample.php) (revision 12127) +++ branches/5.1.x/tools/debug_sample.php (.../debug_sample.php) (revision 12657) @@ -1,6 +1,6 @@ 1, // Show session data (at script finish) // 'DBG_SHOW_PERSISTENTDATA' => 1, // Show persistent session data (at script finish) - 'DBG_EDIT_HELP' => 1, // Show help filename on help screen -// 'DBG_HELP' => 1, // Show FCK editor when viewing help screen - // 'DBG_FORCE_THEME' => 1, // Use this theme_id instead of one in url 'DBG_PHRASES' => 1, // Add ability to translate phrases on the fly -// 'DBG_PHRASES_EDIT_FRONT'=> 1, // Add ability to edit existing phrases for Front End -// 'DBG_PHRASES_EDIT_ADMIN'=> 1, // Add ability to edit existing phrases for Admin // 'DBG_WINDOW_WIDTH' => 700, // Set custom debugger layer width (in pixels) // 'DBG_REDIRECT' => 1, // Show links with redirect url instead of performing it (useful in events debugging) // 'DBG_VALIDATE_CONFIGS' => 1, // Check that config fields match ones from database // 'DBG_SHOW_TAGS' => 1, // Show tags beeing processed -// 'DBG_PRE_PARSE' => 1, // Show new compiled functions in debugger // 'DBG_SHOW_TREE_PRIORITY'=> 1, // Show tree node priority // 'DBG_SKIP_AJAX' => 1, // Don't debug AJAX requests // 'DBG_PAYMENT_GW' => 1, // All requests to payment gateways goes in TEST MODE // 'DBG_IMAGE_RECOVERY' => 1, // Don't replace missing images with noimage.gif // 'DBG_SQL_MODE' => 'TRADITIONAL', // Extra control over sql syntax & data from MySQL server side - -// 'DBG_FAST_INSTALL' => 1, // Install Language Pack in One Step - ); - -// for ADODB to work: begin - define('ADODB_OUTP', 'dbg_SQLLog'); - function dbg_SQLLog($msg, $new_line = false) { } -// for ADODB to work: end - - function dbg_tableMatch($table_name,$sql) - { - static $prefix = ''; - $prefix = defined('TABLE_PREFIX') ? TABLE_PREFIX : GetTablePrefix(); - return strpos($sql, $prefix.$table_name) !== false; - } -?> \ No newline at end of file + ); \ No newline at end of file