diff options
author | Thomas Backlund <tmb@mageia.org> | 2014-10-12 12:27:45 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2014-10-12 12:27:45 +0300 |
commit | 9ce6d646ff718cd62f6434c9a4c94e450436612a (patch) | |
tree | 3ee82e5db7c0aee44a5573d9d17035c6ecac697d /app.php | |
parent | a0b2d09125d7911656fe4cb286f20643c4432281 (diff) | |
download | www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.gz www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.bz2 www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.xz www-9ce6d646ff718cd62f6434c9a4c94e450436612a.zip |
Revert "Updated Estonian translation"
This reverts commit a0b2d09125d7911656fe4cb286f20643c4432281.
Diffstat (limited to 'app.php')
-rw-r--r-- | app.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app.php b/app.php new file mode 100644 index 000000000..86db0b9e4 --- /dev/null +++ b/app.php @@ -0,0 +1,40 @@ +<?php +/** + * Transition controller for www.mageia.org: + * we are moving from a simple site where each page is called by its own script file + * to a site where requests are managed and dispatched by a single controller. + * + * But, we do it step by step, without migrating/breaking everything at once. + * See comments below. + * + * PHP version 5.4 + * + * @category Mageia + * @package Mageia\Web\www + * @author rda <rda@mageia.org> + * @link http://www.mageia.org/ + * + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2+ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License aspublished by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. +*/ + +$routes = array( + //'downloads' => 'MGA_Downloads' +); + +require 'lib/Pinq/Controller.php'; +require 'lib/Pinq/App.php'; +require 'lib/Pinq/Cache.php'; + +$cache = new Pinq_Memcache_Cache(20); + +Pinq_Controller::run( + __DIR__, + $routes, + $_SERVER, + new Pinq_Memcache_Cache(20) +); |