From: Michael Wallner Date: Tue, 21 Jul 2015 09:00:22 +0000 (+0200) Subject: fix cli-server X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=904fc60f05894d6207e9ae85abda8c94283f7d28;p=mdref%2Fmdref fix cli-server --- diff --git a/mdref/Action.php b/mdref/Action.php index 68f64a7..05e007f 100644 --- a/mdref/Action.php +++ b/mdref/Action.php @@ -107,10 +107,10 @@ class Action { $pld->text = file_get_contents(ROOT."/$pld->ref"); break; case "index.css": - $this->serveStylesheet($ctl); + $this->serveStylesheet(); break; case "index.js": - $this->serveJavascript($ctl); + $this->serveJavascript(); break; default: throw new Exception(404, "$pld->ref not found");