Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2
Browse files Browse the repository at this point in the history
Conflicts:
	.gitignore
  • Loading branch information
sgehrig committed Jul 29, 2011
11 parents 00ab860 + 6186985 + 26666c9 + c993e85 + 4e037a4 + 965637a + 64de913 + b400e6b + 526722c + f7defb5 + 1f1e802 commit e938c5f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 484 deletions.
8 changes: 5 additions & 3 deletions src/StandardAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,20 +223,22 @@ public function autoload($class)
if (false !== strpos($class, self::NS_SEPARATOR)) {
if ($this->loadClass($class, self::LOAD_NS)) {
return $class;
} elseif ($this->isFallbackAutoloader()) {
} elseif ($isFallback) {
return $this->loadClass($class, self::ACT_AS_FALLBACK);
}
return false;
}
if (false !== strpos($class, self::PREFIX_SEPARATOR)) {
if ($this->loadClass($class, self::LOAD_PREFIX)) {
return $class;
} elseif ($this->isFallbackAutoloader()) {
} elseif ($isFallback) {
return $this->loadClass($class, self::ACT_AS_FALLBACK);
}
return false;
}
return $this->loadClass($class, self::ACT_AS_FALLBACK);
if ($isFallback) {
return $this->loadClass($class, self::ACT_AS_FALLBACK);
}
return false;
}

Expand Down
Loading

0 comments on commit e938c5f

Please sign in to comment.