Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
fixed various inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Feb 11, 2014
1 parent 18d1b5e commit 8a70d19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion XcacheClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8a70d19

Please sign in to comment.