git.schokokeks.org
Repositories
Help
Report an Issue
fs-draft.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
d42abfa
Branches
Tags
master
midgard
vorlage
fs-draft.git
source
logic
server
data.php
advanced
fenris
commited
d42abfa
at 2016-04-23 01:33:44
data.php
Blame
History
Raw
<?php function read_json($path) { $content = file_get_contents($path); $object = json_decode($content, true); if ($object == null) { throw (new Exception("invalid json-file '" . $path . "'")); } return $object; } ?>