Last active
September 26, 2016 18:49
-
-
Save joshkoenig/f071f1ebd3674739e0d9f65ef45794ca to your computer and use it in GitHub Desktop.
object cache stub
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 | |
# Engage LCache object caching system. | |
# We use a 'require()' here because in PHP 5.5+ changes to symlinks | |
# are not detected by the opcode cache, making it frustrating to deploy. | |
# | |
# More info: http://codinghobo.com/opcache-and-symlink-based-deployments/ | |
# | |
$lcache_path = dirname( realpath( __FILE__ ) ) . '/plugins/wp-lcache/object-cache.php'; | |
require( $lcache_path ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment