Skip to content

Commit

Permalink
Reformat code.
Browse files Browse the repository at this point in the history
See #524
  • Loading branch information
raamdev committed Jul 14, 2015
1 parent f1cc425 commit bef795c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions zencache/includes/advanced-cache.tpl.php
Expand Up @@ -163,13 +163,14 @@
*/
define('ZENCACHE_PLUGIN_FILE', '%%ZENCACHE_PLUGIN_FILE%%');

/*
* Include shared methods between {@link advanced_cache} and {@link plugin}.
*/
if(defined('WP_DEBUG') && WP_DEBUG) {
if ((include_once(dirname(ZENCACHE_PLUGIN_FILE).'/includes/share.php')) === false)
return; // Unable to find class dependency. Fail softly.
} else if((@include_once(dirname(ZENCACHE_PLUGIN_FILE).'/includes/share.php')) === FALSE) {
/*
* Include shared methods between {@link advanced_cache} and {@link plugin}.
*/
if (defined('WP_DEBUG') && WP_DEBUG) {
if ((include_once(dirname(ZENCACHE_PLUGIN_FILE).'/includes/share.php')) === false) {
return;
} // Unable to find class dependency. Fail softly.
} else if ((@include_once(dirname(ZENCACHE_PLUGIN_FILE).'/includes/share.php')) === false) {
return; // Unable to find class dependency. Fail softly.
}

Expand Down

0 comments on commit bef795c

Please sign in to comment.