waAutoload::register(); class SystemConfig extends waSystemConfig { } PHP; fwrite($fp, $config_content); fclose($fp); } else { throw new Exception("Error while create SystemConfig at wa-config"); } } $url = $is_https ? 'https' : 'http'; $login_path = waInstallerApps::getGenericConfig('mod_rewrite', true) ? 'webasyst/' : 'index.php/webasyst/'; $content = <<<HTML <div class="i-welcome"> \t<h1>{$t->_('Installed!')}</h1> \t<p>{$t->_('Webasyst is installed and ready.')}</p> \t<p><a id="redirect_url" href="//{$host}{$login_path}?lang={$lang}" class="large"><strong>{$url}://{$host}<span class="highlighted underline">{$login_path}</span></strong></a> <i class="icon10 yes"></i></p> \t<p class="clear-left i-hint">{$t->_('Remember this address. This is the address for logging into your Webasyst backend.')}</p> \t<br><br><br> \t<p id="redirect_message" style="display:none;">{$t->_('Finalizing installation...')} <i class="icon16 loading"></i></p> \t<p>{$warning}</p> </div> HTML;