Fixed a bug that would cause multiple slashes in some path strings when __DIR__ isn't defined on a system
Fixed a bug that would cause multiple slashes in some path strings when __DIR__ isn't defined on a system

vranjith009/sample,UberGallery/UberGallery