X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/examples/image-organizer/php/api.php diff --git a/examples/image-organizer/php/api.php b/examples/image-organizer/php/api.php deleted file mode 100644 index 3500bea7..00000000 --- a/examples/image-organizer/php/api.php +++ /dev/null @@ -1,32 +0,0 @@ -&$a){ - $methods = array(); - foreach($a['methods'] as $mname=>&$m){ - $md = array( - 'name'=>$mname, - 'len'=>$m['len'] - ); - if(isset($m['formHandler'])){ - $md['formHandler'] = true; - } - $methods[] = $md; - } - $actions[$aname] = $methods; -} - -$cfg = array( - 'url'=>'php/router.php', - 'type'=>'remoting', - 'actions'=>$actions, - 'namespace'=>'Imgorg.ss' -); - -echo 'Imgorg.REMOTING_API = '; - -echo json_encode($cfg); -echo ';';