"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/setup/library/Setup/Webserver.php" between
icingaweb2-2.11.3.tar.gz and icingaweb2-2.11.4.tar.gz

About: Icinga Web 2 is an Web interface for Icinga 2, a network and computer system monitoring system.

Webserver.php  (icingaweb2-2.11.3):Webserver.php  (icingaweb2-2.11.4)
skipping to change at line 79 skipping to change at line 79
* *
* @return string * @return string
*/ */
public function generate() public function generate()
{ {
$template = $this->getTemplate(); $template = $this->getTemplate();
$searchTokens = array( $searchTokens = array(
'{urlPath}', '{urlPath}',
'{documentRoot}', '{documentRoot}',
'{aliasDocumentRoot}',
'{configDir}', '{configDir}',
'{fpmUri}' '{fpmUri}'
); );
$replaceTokens = array( $replaceTokens = array(
$this->getUrlPath(), $this->getUrlPath(),
$this->getDocumentRoot(), $this->getDocumentRoot(),
preg_match('~/$~', $this->getUrlPath()) ? $this->getDocumentRoot() . '/' : $this->getDocumentRoot(),
$this->getConfigDir(), $this->getConfigDir(),
$this->getFpmUri() $this->getFpmUri()
); );
$template = str_replace($searchTokens, $replaceTokens, $template); $template = str_replace($searchTokens, $replaceTokens, $template);
return $template; return $template;
} }
/** /**
* Specific template * Specific template
* *
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)