Changeset 9779

Show
Ignore:
Timestamp:
05/29/10 11:33:15 (2 years ago)
Author:
p_lindheimer
Message:

revert r9772 re #4299 we are not going to call hostname on every call in addition to it has the potential of messing up the display with an unknown length and could have other un-forseen consequences (and if we were going to do this, we should be using php gethostname() (and then defining a substitute for php versions that don't have that function

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.8/amp_conf/htdocs/admin/views/freepbx.php

    r9777 r9779  
    162162    "<a href=\"http://www.freepbx.org\" target=\"_blank\">"._("FreePBX")."</a>", 
    163163    $version, 
    164     "<a href=\"http".(isset($_SERVER['HTTPS'])&&$_SERVER['HTTPS']!=''?'s':'')."://".$_SERVER['HTTP_HOST']."\">".$_SERVER['SERVER_NAME'] .' ('.trim(`hostname`).')'."</a>" 
     164    "<a href=\"http".(isset($_SERVER['HTTPS'])&&$_SERVER['HTTPS']!=''?'s':'')."://".$_SERVER['HTTP_HOST']."\">".$_SERVER["SERVER_NAME"]."</a>" 
    165165     ); 
    166166  echo "</div>\n";