mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
17 lines
412 B
PHP
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();
|