Skip to content

Commit b9d2451

Browse files
committed
fix: Require only horde.local.php if exists, not the core.php file
1 parent b33110b commit b9d2451

4 files changed

Lines changed: 11 additions & 1 deletion

File tree

rampage.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@
55
} elseif (is_dir(dirname(__FILE__, 4) . '/vendor')) {
66
require_once dirname(__FILE__, 4) . '/vendor/autoload.php';
77
}
8-
require_once dirname(__FILE__) . '/lib/core.php';
8+
9+
if (file_exists(__DIR__ . '/config/horde.local.php')) {
10+
require_once __DIR__ . '/config/horde.local.php';
11+
}
12+
913
Horde\Core\RampageBootstrap::run();

themes/dark/screen.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,8 @@ pre, code, .fixed, table.lineNumbered * {
453453
margin: auto;
454454
position: absolute;
455455
top: 0;
456+
max-height: 24px;
457+
max-width: 24px;
456458
}
457459
.notices div.noticetext, .notice div.noticetext {
458460
margin-left: 30px;

themes/default/screen.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,8 @@ pre, code, .fixed, table.lineNumbered * {
632632
margin: auto;
633633
position: absolute;
634634
top: 0;
635+
max-height: 24px;
636+
max-width: 24px;
635637
}
636638
.notices div.noticetext, .notice div.noticetext {
637639
margin-left: 30px;

themes/default_red/screen.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ pre, code, .fixed, table.lineNumbered * {
450450
margin: auto;
451451
position: absolute;
452452
top: 0;
453+
max-height: 24px;
454+
max-width: 24px;
453455
}
454456
.notices div.noticetext, .notice div.noticetext {
455457
margin-left: 30px;

0 commit comments

Comments
 (0)