Commit b0ffc018 by Taylor Otwell

Merge pull request #171 from daniels0xff/develop

Develop
parents 1746dbdb 0000ffc8
favicon.* favicon.*
.DS_Store
\ No newline at end of file
...@@ -53,8 +53,8 @@ class Autoloader { ...@@ -53,8 +53,8 @@ class Autoloader {
protected static function find($class) protected static function find($class)
{ {
// After PHP namespaces were introduced, most libaries ditched underscores for // After PHP namespaces were introduced, most libaries ditched underscores for
// for namespaces to indicate the class directory hierarchy. We will check for // namespaces to indicate the class directory hierarchy. We will check for the
// the presence of namespace slashes to determine the directory separator. // presence of namespace slashes to determine the directory separator.
$separator = (strpos($class, '\\') !== false) ? '\\' : '_'; $separator = (strpos($class, '\\') !== false) ? '\\' : '_';
$library = substr($class, 0, strpos($class, $separator)); $library = substr($class, 0, strpos($class, $separator));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment