Files
Phraseanet/www/admin/router.php
2012-02-28 13:55:24 +01:00

33 lines
620 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
*/
$Core = require_once __DIR__ . "/../../lib/bootstrap.php";
$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();