From 6e42f3702b38f97a1a436d30310a0e6c4faa5145 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Mon, 12 Nov 2012 11:36:20 +0000 Subject: pinq is a new controller-based framework for www.m.o --- app.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app.php (limited to 'app.php') diff --git a/app.php b/app.php new file mode 100644 index 000000000..43323dbc6 --- /dev/null +++ b/app.php @@ -0,0 +1,32 @@ + + * @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2+ + * @link http://www.mageia.org/ + * +*/ + +require 'lib/Pinq/Controller.php'; +require 'lib/Pinq/App.php'; + +$pc = new Pinq_Controller(__DIR__, $_SERVER); +$pc->init(); + +$routes = array( +// 'downloads' => 'MGA_Downloads' +); + +$pc->run($routes); + + -- cgit v1.2.1