mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-06 02:39:59 +02:00
reviewed unit tests, fixing line endings, added more tests
This commit is contained in:
parent
7db76d8d71
commit
ad70051323
10 changed files with 328 additions and 325 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue