/** * Vygeneruje link na webRoot. * Pozor pouzivat az po tom co se provede Process, pouzivaji se z nej hodnoty. * * @return string */ public static function getWebRoot() { $config = new Config(); $webRoot = $config->webRoot; if ($config->remoteLangFrom === 'uri') { $webRoot .= Bobr_Session::lang() . '/'; } return $webRoot; }