X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Findex.php;h=39ad26a3a347ddadc4969f10088f6ef84a68bacd;hb=9b071cf2a6a9e069b7a5b1e10a4d977269211129;hp=90b0807e17defff7255bbb4c8cb8e8f78fe70735;hpb=50a40a33a496131e817df875607ea5542d096a64;p=platal.git diff --git a/htdocs/index.php b/htdocs/index.php index 90b0807..39ad26a 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -18,10 +18,13 @@ * 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(); +$platal->run(); + ?>