1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Added check for "SetEnv E_DEV true" in .htaccess

This commit is contained in:
Cameron 2013-05-25 18:24:02 -07:00
parent 0ccb124364
commit 94f4906987

View File

@ -644,9 +644,9 @@ if ($e107_popup != 1) {
// N: Send other top-of-body HTML
//
if(ADMIN)
if(ADMIN && !vartrue($_SERVER['E_DEV']) && file_exists(e_BASE.'install.php'))
{
if(file_exists(e_BASE.'install.php') || file_exists(e_BASE.'install_.php')){ echo "<div class='installer alert alert-danger alert-block text-center'><b>*** ".CORE_LAN4." ***</b><br />".CORE_LAN5."</div>"; }
echo "<div class='installer alert alert-danger alert-block text-center'><b>*** ".CORE_LAN4." ***</b><br />".CORE_LAN5."</div>";
}
// Display Welcome Message when old method activated.