|
|
@ -48,6 +48,7 @@ class DirScannerTest extends DirScanner { |
|
|
|
echo "\n"; |
|
|
|
echo "\n"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -57,8 +58,8 @@ $scanner = new DirScannerTest(); |
|
|
|
//$scanner->secureLinkTest('/default/', 'foo=bar', '127.0.0.1', ''); |
|
|
|
//$scanner->secureLinkTest('/default/', 'foo=bar', '127.0.0.1', ''); |
|
|
|
//$scanner->secureLinkTest('/default/', 'foo=bar', '127.0.0.1', '{secret} {secure_link_expires}{uri}{remote_addr}'); |
|
|
|
//$scanner->secureLinkTest('/default/', 'foo=bar', '127.0.0.1', '{secret} {secure_link_expires}{uri}{remote_addr}'); |
|
|
|
|
|
|
|
|
|
|
|
$scanner->getFilePathTest('/content/小说/金庸/', '书剑恩仇录', 'md'); |
|
|
|
//$scanner->getFilePathTest('/content/小说/金庸/', '书剑恩仇录', 'md'); |
|
|
|
$scanner->getFilePathTest('/content/小说/金庸/', '封面图', 'jpg'); |
|
|
|
//$scanner->getFilePathTest('/content/小说/金庸/', '封面图', 'jpg'); |
|
|
|
$scanner->getFilePathTest('/content/视频/游戏/', 'demo', 'm3u8'); |
|
|
|
//$scanner->getFilePathTest('/content/视频/游戏/', 'demo', 'm3u8'); |
|
|
|
$scanner->getFilePathTest('/content/视频/游戏/', '推荐', 'url'); |
|
|
|
//$scanner->getFilePathTest('/content/视频/游戏/', '推荐', 'url'); |
|
|
|
$scanner->getFilePathTest('/content/视频/游戏/', '测试', 'mp4'); |
|
|
|
//$scanner->getFilePathTest('/content/视频/游戏/', '测试', 'mp4'); |
|
|
|