/**
  * Short description of method __construct
  *
  * @access private
  * @author Joel Bout, <*****@*****.**>
  * @return mixed
  */
 private function __construct()
 {
     // section 127-0-1-1--5509896f:133feddcac3:-8000:0000000000004362 begin
     $this->implementor = Log\Dispatcher::singleton();
     // section 127-0-1-1--5509896f:133feddcac3:-8000:0000000000004362 end
 }
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; under version 2
 * of the License (non-upgradable).
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * Copyright (c) 2013 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT);
 *
 * @author "Lionel Lecaque, <*****@*****.**>"
 * @license GPLv2
 * @package package_name
 * @subpackage 
 *
 */
error_reporting(E_ALL);
require_once 'autoload.php';
use OatBox\Common\Log\Dispatcher;
use OatBox\Common\Config;
define('ROOT_PATH', dirname(__FILE__) . '/../');
Dispatcher::singleton()->init(array(array('class' => 'SingleFileAppender', 'format' => '[%s] %m', 'threshold' => \OatBox\Common\Logger::TRACE_LEVEL, 'file' => ROOT_PATH . 'log/update.log')));
$config = new Config(dirname(__FILE__) . '/config.json');
$constants = $config->get($config::CONSTANTS);
$config->loadConstants($constants);