Ignore:
Timestamp:
Jan 22, 2016, 4:49:21 PM (9 years ago)
Author:
chronos
Message:
  • Fixed: Setup need to work without any app module installed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/Setup.php

    r860 r862  
    325325  {
    326326    $Output = "<?php\n\n".
    327         "\$IsDeveloper = in_array(\$_SERVER['REMOTE_ADDR'], array('127.0.0.1'));\n\n";
     327      "\$IsDeveloper = array_key_exists('REMOTE_ADDR', \$_SERVER) and in_array(\$_SERVER['REMOTE_ADDR'], array('127.0.0.1'));\n\n";
    328328
    329329    foreach($this->ConfigDefinition as $Def)
Note: See TracChangeset for help on using the changeset viewer.