diff --git a/classes/Foolz/Package/Loader.php b/classes/Foolz/Package/Loader.php index 280b9d0..6da756c 100644 --- a/classes/Foolz/Package/Loader.php +++ b/classes/Foolz/Package/Loader.php @@ -105,7 +105,7 @@ public function addDir($dir = null) throw new \DomainException('Directory not found.'); } - $this->dirs[] = rtrim($dir,'/').'/'; + $this->dirs[] = rtrim($dir, '/'); // set the flag to reload packages on demand $this->reload = true; @@ -271,4 +271,4 @@ public function getBaseUrl() return $this->base_url; } -} \ No newline at end of file +}