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

Commit

Permalink
Browse files Browse the repository at this point in the history
- Spaces around operator ('.')
  • Loading branch information
weierophinney committed Nov 11, 2013
1 parent dff54f2 commit 32ec139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModuleAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function autoload($class)
$path = $path . $moduleClassPath;

if ($path == '.' || substr($path, 0, 2) == './' || substr($path, 0, 2) == '.\\') {
$path = realpath('.').substr($path, 1);
$path = realpath('.') . substr($path, 1);
}

$classLoaded = $this->loadModuleFromDir($path, $class);
Expand Down

0 comments on commit 32ec139

Please sign in to comment.