Changes between Initial Version and Version 1 of Ticket #9444, comment 36
- Timestamp:
- 08/19/2015 10:37:11 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9444, comment 36
initial v1 2 2 3 3 Simply read the config file as a string and get rid of the offending require_once and then eval it. 4 5 4 $configString = file_get_contents('some/path/to/wp-config.php'); 6 5 $configString = preg_replace('/require_once\(.*?\);/', '', $configString);