Skip to content

Commit

Permalink
Don't load default theme fixes #1816
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Apr 7, 2017
1 parent acf90c4 commit be1b2d8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions main/install/install.lib.php
Expand Up @@ -713,7 +713,7 @@ function display_requirements(
if (!$properlyAccessUrl) {
echo '
<div class="alert alert-danger">
' . Display::return_icon('error.png', get_lang('Error'), [], ICON_SIZE_MEDIUM) .
' . Display::return_icon('error.png', get_lang('Error'), [], ICON_SIZE_MEDIUM, true, false, true) .
' ' .
sprintf(get_lang('InstallMultiURLDetectedNotMainURL'), api_get_configuration_value('root_web')) . '
</div>
Expand All @@ -726,7 +726,15 @@ function display_requirements(
$timezone = checkPhpSettingExists("date.timezone");
if (!$timezone) {
echo "<div class='alert alert-warning'>".
Display::return_icon('warning.png', get_lang('Warning'), '', ICON_SIZE_MEDIUM).
Display::return_icon(
'warning.png',
get_lang('Warning'),
'',
ICON_SIZE_MEDIUM,
true,
false,
false
).
get_lang("DateTimezoneSettingNotSet")."</div>";
}

Expand Down Expand Up @@ -1934,6 +1942,7 @@ function check_course_script_interpretation($course_dir, $course_attempt_name, $
$content = '<?php echo "123"; exit;';

if (is_writable($file_name)) {

if ($handler = @fopen($file_name, "w")) {
//write content
if (fwrite($handler, $content)) {
Expand Down

0 comments on commit be1b2d8

Please sign in to comment.