<?php
/***************************************************************************
- * Copyright (C) 2003-2008 Polytechnique.org *
+ * Copyright (C) 2003-2009 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
public function __construct()
{
parent::__construct(array('platal.ini', 'platal.conf'));
+ if (isset($GLOBALS['IS_XNET_SITE'])) {
+ $this->core->sitename = 'Polytechnique.net';
+ }
+ }
+
+ public function init()
+ {
$this->bootstrap(array('NbIns'), array($this, 'updateNbIns'));
$this->bootstrap(array('NbValid'), array($this, 'updateNbValid'));
}