Files
Phraseanet/www/admin/router.php
Romain Neutron 3ea1e067a0 Fix wrong path
2012-01-11 21:01:59 +01:00

34 lines
645 B
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2010 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
*
* @package
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com
*/
require_once __DIR__ . "/../../lib/bootstrap.php";
bootstrap::register_autoloads();
$request = http_request::getInstance();
$parm = $request->get_parms('session');
if ($parm["session"])
{
session_id($parm["session"]);
}
$app = require __DIR__ . "/../../lib/Alchemy/Phrasea/Application/Admin.php";
$app->run();