reviewed unit tests, fixing line endings, added more tests

This commit is contained in:
El RIDO 2015-08-15 18:32:31 +02:00
parent 7db76d8d71
commit ad70051323
10 changed files with 328 additions and 325 deletions

View file

@ -48,7 +48,7 @@ abstract class persistence
public static function getPath($filename = null)
{
if(strlen($filename)) {
return self::$_path . '/' . $filename;
return self::$_path . DIRECTORY_SEPARATOR . $filename;
} else {
return self::$_path;
}