|
|
@ -61,7 +61,7 @@ |
|
|
|
'id' => '根据完整路径生成的唯一编号', |
|
|
|
'id' => '根据完整路径生成的唯一编号', |
|
|
|
'directory' => '倚天屠龙记', |
|
|
|
'directory' => '倚天屠龙记', |
|
|
|
'realpath' => '/www/webroot/content/倚天屠龙记/', |
|
|
|
'realpath' => '/www/webroot/content/倚天屠龙记/', |
|
|
|
'path' => '/list/?dir=倚天屠龙记', |
|
|
|
'path' => '/list/?id={id}', |
|
|
|
'snapshot' => '/content/倚天屠龙记封面图.jpg', |
|
|
|
'snapshot' => '/content/倚天屠龙记封面图.jpg', |
|
|
|
'files' => [...], //文件列表 |
|
|
|
'files' => [...], //文件列表 |
|
|
|
'directories' => [...] //目录列表 |
|
|
|
'directories' => [...] //目录列表 |
|
|
@ -75,7 +75,7 @@ |
|
|
|
'id' => '根据完整路径生成的唯一编号', |
|
|
|
'id' => '根据完整路径生成的唯一编号', |
|
|
|
'filename' => '第一章', |
|
|
|
'filename' => '第一章', |
|
|
|
'realpath' => '/www/webroot/content/倚天屠龙记/第一章.md', |
|
|
|
'realpath' => '/www/webroot/content/倚天屠龙记/第一章.md', |
|
|
|
'path' => '/view/?file=第一章', |
|
|
|
'path' => '/view/?id={id}', |
|
|
|
'extension' => 'md', |
|
|
|
'extension' => 'md', |
|
|
|
'fstat' => [...], //同php方法fstat: https://www.php.net/manual/en/function.fstat.php |
|
|
|
'fstat' => [...], //同php方法fstat: https://www.php.net/manual/en/function.fstat.php |
|
|
|
'content' => '文章内容...', |
|
|
|
'content' => '文章内容...', |
|
|
@ -89,9 +89,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
| 后缀 | path网址 | |
|
|
|
| 后缀 | path网址 | |
|
|
|
| ---- | ---- | |
|
|
|
| ---- | ---- | |
|
|
|
| .md | /view/?file={filename} | |
|
|
|
| .md | /view/?id={id} | |
|
|
|
| .url | /link/?file={filename} | |
|
|
|
| .url | /link/?id={id} | |
|
|
|
| .m3u8 | /m3u8/?file={filename}&{防盗链参数} | |
|
|
|
| .m3u8 | /m3u8/?id={id}&{防盗链参数} | |
|
|
|
| .jpg | /{相对路径}/{filename}.{extension}?{防盗链参数} | |
|
|
|
| .jpg | /{相对路径}/{filename}.{extension}?{防盗链参数} | |
|
|
|
| .png | /{相对路径}/{filename}.{extension}?{防盗链参数} | |
|
|
|
| .png | /{相对路径}/{filename}.{extension}?{防盗链参数} | |
|
|
|
| .gif | /{相对路径}/{filename}.{extension}?{防盗链参数} | |
|
|
|
| .gif | /{相对路径}/{filename}.{extension}?{防盗链参数} | |
|
|
@ -112,7 +112,7 @@ |
|
|
|
'id' => '根据完整路径生成的唯一编号', |
|
|
|
'id' => '根据完整路径生成的唯一编号', |
|
|
|
'filename' => 'filesite.io', |
|
|
|
'filename' => 'filesite.io', |
|
|
|
'realpath' => '/www/webroot/content/网址导航/filesite.io.url', |
|
|
|
'realpath' => '/www/webroot/content/网址导航/filesite.io.url', |
|
|
|
'path' => '/link/?file=filesite.io', |
|
|
|
'path' => '/link/?id={id}', |
|
|
|
'extension' => 'url', |
|
|
|
'extension' => 'url', |
|
|
|
'fstat' => [...], //同php方法fstat: https://www.php.net/manual/en/function.fstat.php |
|
|
|
'fstat' => [...], //同php方法fstat: https://www.php.net/manual/en/function.fstat.php |
|
|
|
'shortcut' => [ |
|
|
|
'shortcut' => [ |
|
|
|