fix cli-server
authorMichael Wallner <mike@php.net>
Tue, 21 Jul 2015 09:00:22 +0000 (11:00 +0200)
committerMichael Wallner <mike@php.net>
Tue, 21 Jul 2015 09:00:22 +0000 (11:00 +0200)
mdref/Action.php

index 68f64a7edb8f41a4293af90ae4ce3d162187a68d..05e007fe37b0ea176dda8d9be8b738c2e273294e 100644 (file)
@@ -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");