base.php, __construct(), if $base trimmed to empty string, strpos throws...

... fatal error

crappy hack around ;(