Code Standards
This commit is contained in:
parent
abb50fbf62
commit
cfae736660
1 changed files with 12 additions and 10 deletions
|
@ -50,8 +50,8 @@ class Install extends BaseModule
|
||||||
Core\System::httpExit(204);
|
Core\System::httpExit(204);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We overwrite current theme css, because during install we clould not have a working mod_rewrite
|
// We overwrite current theme css, because during install we may not have a working mod_rewrite
|
||||||
// so we could not have a css at all. Here we set a static css file for the install procedure pages
|
// so we may not have a css at all. Here we set a static css file for the install procedure pages
|
||||||
$a->setConfigValue('system', 'value', '../install');
|
$a->setConfigValue('system', 'value', '../install');
|
||||||
$a->theme['stylesheet'] = $a->getBaseURL() . '/view/install/style.css';
|
$a->theme['stylesheet'] = $a->getBaseURL() . '/view/install/style.css';
|
||||||
|
|
||||||
|
@ -303,7 +303,8 @@ class Install extends BaseModule
|
||||||
*
|
*
|
||||||
* @return string The manual config text
|
* @return string The manual config text
|
||||||
*/
|
*/
|
||||||
private static function manualConfig($a) {
|
private static function manualConfig($a)
|
||||||
|
{
|
||||||
$data = htmlentities($a->data['txt'], ENT_COMPAT, 'UTF-8');
|
$data = htmlentities($a->data['txt'], ENT_COMPAT, 'UTF-8');
|
||||||
$output = L10n::t('The database configuration file "config/local.ini.php" could not be written. Please use the enclosed text to create a configuration file in your web server root.');
|
$output = L10n::t('The database configuration file "config/local.ini.php" could not be written. Please use the enclosed text to create a configuration file in your web server root.');
|
||||||
$output .= "<textarea rows=\"24\" cols=\"80\" >$data</textarea>";
|
$output .= "<textarea rows=\"24\" cols=\"80\" >$data</textarea>";
|
||||||
|
@ -317,7 +318,8 @@ class Install extends BaseModule
|
||||||
*
|
*
|
||||||
* @return string The text for the next steps
|
* @return string The text for the next steps
|
||||||
*/
|
*/
|
||||||
private static function whatNext($a) {
|
private static function whatNext($a)
|
||||||
|
{
|
||||||
$baseurl = $a->getBaseUrl();
|
$baseurl = $a->getBaseUrl();
|
||||||
return
|
return
|
||||||
L10n::t('<h1>What next</h1>')
|
L10n::t('<h1>What next</h1>')
|
||||||
|
|
Loading…
Reference in a new issue