blash/system/files_json.php

33 lines
1.7 KiB
PHP
Raw Normal View History

<?php
$files_json = <<<JSON
[
2010-12-30 23:05:42 +01:00
{"path": "/", "type": "directory", "can_read": "@all", "can_write": "root"}
, {"path": "/blog", "type": "directory"}
, {"path": "/news", "type": "directory"}
, {"path": "/forum", "type": "directory"}
, {"path": "/tutorials", "type": "directory"}
, {"path": "/software", "type": "directory"}
, {"path": "/etc", "type": "directory"}
, {"path": "/home", "type": "directory"}
, {"path": "/etc/blashrc", "type": "file", "content": "This is the default blash configuration file"}
, {"path": "/forum/post1", "type": "file", "content": "lol"}
, {"path": "/forum/post2", "type": "file", "content": "lol"}
, {"path": "/home/guest/.blashrc", "type": "file", "content": "Custom blash configuration file"}
, {"path": "/news/news1", "type": "file", "content": "Nothing new under the sun"}
, {"path": "/software/soft1", "type": "file", "href": "/software/soft1.tar.gz"}
, {"path": "/software/soft2", "type": "file", "href": "/software/soft2.tar.gz"}
, {"path": "/software/soft3", "type": "file", "href": "/software/soft3.tar.gz"}
, {"path": "/tutorials/tut1", "type": "file", "href": "/software/tut1.pdf"}
, {"path": "/tutorials/tut2", "type": "file", "href": "/software/tut2.pdf"}
, {"path": "/github", "type": "file", "href": "https://github.com/BlackLight/blash"}
, {"path": "/contacts", "type": "file", "content": "Contact me at spam@montypython.com"}
, {"path": "/irc", "type": "file", "content": "IRC channel at #thegame@irc.randomstuff.com"}
2011-01-07 11:42:38 +01:00
, {"path": "/root", "type": "directory", "can_write": "root", "can_read": "root"}
2011-01-10 22:31:56 +01:00
, {"path": "/google", "type": "file", "owner": "root", "can_read": "@all", "can_write": "root", "href": "http://www.google.com"}
2011-01-11 12:18:45 +01:00
, {"path": "/aboutme", "type": "file", "content": "Luke, I am your father"}
]
2010-12-30 23:05:42 +01:00
JSON;
2011-01-07 18:07:17 +01:00
?>