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:
parent
5be7f12c97
commit
e047fdac9a
2 changed files with 9 additions and 4 deletions
|
@ -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('/'));
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue