Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / 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 (file)
index 3500bea..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-require('config.php');
-header('Content-Type: text/javascript');
-
-// convert API config to Ext.Direct spec
-$actions = array();
-foreach($API as $aname=>&$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 ';';