Permalink
Browse files

fixed various inconsistencies

  • Loading branch information...
1 parent 18d1b5e commit 8a70d1963fc0b588e530bc4b47a5240aabffcacc @fabpot fabpot committed Feb 11, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 XcacheClassLoader.php
View
@@ -116,7 +116,8 @@ public function findFile($class)
if (xcache_isset($this->prefix.$class)) {
$file = xcache_get($this->prefix.$class);
} else {
- xcache_set($this->prefix.$class, $file = $this->classFinder->findFile($class));
+ $file = $this->classFinder->findFile($class);
+ xcache_set($this->prefix.$class, $file);
}
return $file;

0 comments on commit 8a70d19

Please sign in to comment.