text changes to registration mail content
[namibia] / public / b4c / gateway.php
1 <?php
2 /**
3  * This makes our life easier when dealing with paths. Everything is relative
4  * to the application root now.
5  */
6 chdir(dirname(dirname(__DIR__)));
7
8 // Setup autoloading
9 require 'init_autoloader.php';
10
11
12 // Run the application!
13 Zend\Mvc\Application::init(require 'config/application.config.php');
14
15 $production = false;
16 $server = new ZendAmf\Server();
17 $server->setProduction($production);
18 $server->setClass('Workspace\Amf\Moo', 'Moo');
19 $server->setClass('Workspace\Amf\Workspace', 'Workspace');
20
21 //var_dump($server->getFunctions());
22 //exit();
23
24 echo $server->handle();