Changeset 2147717
- Timestamp:
- 08/29/2019 11:03:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
enable-wp-debug-from-admin-dashboard/trunk/index.php
r2147705 r2147717 83 83 { 84 84 $wp_config_content=file_get_contents($wp_config); 85 if( strpos($wp_config_content, $this->phrase_start) === false )85 if( strpos($wp_config_content, $this->phrase_start) === false ) 86 86 { 87 87 $inserting_code_block= … … 111 111 } 112 112 } 113 114 if (!get_option("EWDFD_1_8_update_issue")) 115 { 116 update_option("EWDFD_1_8_update_issue", true); 117 118 $wp_config_content=file_get_contents($wp_config); 119 if( strpos($wp_config_content, 'WP_DEBUG_LOGS') !== false ) 120 { 121 $new_content = str_replace( 'WP_DEBUG_LOGS', 'WP_DEBUG_LOG', $wp_config_content); 122 file_put_contents($wp_config, $new_content); 123 } 124 } 113 125 // ===============================================// 114 126 }
Note: See TracChangeset
for help on using the changeset viewer.