Skip to content

Commit e047fda

Browse files
committed
fix(profile): ensure correct base address
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 5be7f12 commit e047fda

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

apps/profile/templates/404-profile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/** @var \OCP\Defaults $theme */
99
// @codeCoverageIgnoreStart
1010
if (!isset($_)) { //standalone page is not supported anymore - redirect to /
11-
require_once '../../lib/base.php';
11+
require_once '../../../lib/base.php';
1212

1313
$urlGenerator = \OCP\Server::get(\OCP\IURLGenerator::class);
1414
header('Location: ' . $urlGenerator->getAbsoluteURL('/'));

build/psalm-checker.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@
55

66
if [ -d "dist" ]; then
77
missing=''
8-
for f in apps/*; do
9-
grep "directory name=\"$f\"" psalm.xml 2>&1 > /dev/null
8+
for app in apps/*; do
9+
if git check-ignore "$app" -q ; then
10+
echo "ℹ️ Ignoring non shipped app: $app"
11+
continue
12+
fi
13+
14+
grep "directory name=\"$app\"" psalm.xml 2>&1 > /dev/null
1015
if [ $? -ne 0 ]; then
11-
missing="$missing- $f\n"
16+
missing="$missing - $app\n"
1217
fi
1318
done
1419

0 commit comments

Comments
 (0)