Created
February 27, 2014 13:58
-
-
Save dave1010/9250546 to your computer and use it in GitHub Desktop.
wp-db.php.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// workaround for HHVM not supporting case-insensitive constants | |
// http://www.hhvm.com/blog/113/getting-wordpress-running-on-hhvm | |
if (! defined( 'HHVM_VERSION' )) { | |
define( 'OBJECT', 'OBJECT', true ); | |
} else { | |
define('OBJECT', 'OBJECT'); | |
define('Object', 'OBJECT'); | |
define('object', 'OBJECT'); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment