1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-06 06:59:07 +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 // 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. // Display Welcome Message when old method activated.