0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-14 13:29:21 +00:00

fix(profile): ensure correct base address

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-04-04 16:56:17 +02:00
parent 5be7f12c97
commit e047fdac9a
No known key found for this signature in database
GPG key ID: 45FAE7268762B400
2 changed files with 9 additions and 4 deletions
apps/profile/templates
build

View file

@ -8,7 +8,7 @@
/** @var \OCP\Defaults $theme */
// @codeCoverageIgnoreStart
if (!isset($_)) { //standalone page is not supported anymore - redirect to /
require_once '../../lib/base.php';
require_once '../../../lib/base.php';
$urlGenerator = \OCP\Server::get(\OCP\IURLGenerator::class);
header('Location: ' . $urlGenerator->getAbsoluteURL('/'));

View file

@ -5,10 +5,15 @@
if [ -d "dist" ]; then
missing=''
for f in apps/*; do
grep "directory name=\"$f\"" psalm.xml 2>&1 > /dev/null
for app in apps/*; do
if git check-ignore "$app" -q ; then
echo " Ignoring non shipped app: $app"
continue
fi
grep "directory name=\"$app\"" psalm.xml 2>&1 > /dev/null
if [ $? -ne 0 ]; then
missing="$missing- $f\n"
missing="$missing - $app\n"
fi
done