X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=JavascriptError.php;h=11f4deb7cd38f71dd93d26869627cda656084f04;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=443623f47935eb52acd65a3ff0d84eab1fd5a98b;hpb=6f812492a0566704b458c01359e576a142479453 diff --git a/JavascriptError.php b/JavascriptError.php index e69de29b..11f4deb7 100644 --- a/JavascriptError.php +++ b/JavascriptError.php @@ -0,0 +1,39 @@ +getAuthUser(); + + if (!$au || !$au->pid()) { + + die("authenticated Users only"); + } + + + $this->authUser = $au; + return true; + } + + function get($v, $opts=array()) + { + die("invalid url"); + } + + function post($v) + { + + $this->addEvent("JSERROR", false,$_REQUEST['msg']); + $this->jok("OK"); + } + + + + +}