Files
Phraseanet/www/index.php
2011-02-16 16:09:48 +01:00

17 lines
412 B
PHP

<?php
if (file_exists( dirname( __FILE__ ) . "/../config/_GV.php") && file_exists( dirname( __FILE__ ) . "/../config/connexion.inc"))
{
include( dirname( __FILE__ ) . "/../lib/bootstrap.php" );
$browser = browser::getInstance();
if($browser->isNewGeneration())
header("Location: /login/prod/");
else
header("Location: /login/client/");
exit();
}
header("Location: /setup/");
exit();