* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-require_once("xorg.inc.php");
-new_skinned_page('index.tpl', AUTH_PUBLIC);
-if (logged()) {
- redirect("login.php");
-}
-$page->run();
+
+require_once 'xorg.inc.php';
+
+require_once dirname(__FILE__).'/../classes/Platal.php';
+require_once dirname(__FILE__).'/../classes/PLModule.php';
+
+$platal = new Platal('auth', 'banana', 'carnet', 'email', 'events', 'geoloc',
+ 'lists', 'marketing', 'payment', 'platal', 'profile',
+ 'register', 'search', 'stats', 'trezo');
+$platal->run();
+
?>