asdasd
This commit is contained in:
@@ -2,4 +2,8 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require dirname(__DIR__, 3) . '/modules/boersenchecker/pages/index.php';
|
||||
require_once dirname(__DIR__, 3) . '/src/App/bootstrap.php';
|
||||
|
||||
use App\AppPaths;
|
||||
|
||||
require AppPaths::customAppPath(dirname(__DIR__, 3), 'boersenchecker') . '/pages/index.php';
|
||||
|
||||
@@ -2,4 +2,8 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require dirname(__DIR__, 3) . '/modules/fx-rates/pages/index.php';
|
||||
require_once dirname(__DIR__, 3) . '/src/App/bootstrap.php';
|
||||
|
||||
use App\AppPaths;
|
||||
|
||||
require AppPaths::customAppPath(dirname(__DIR__, 3), 'fx-rates') . '/pages/index.php';
|
||||
|
||||
@@ -2,4 +2,8 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require dirname(__DIR__, 3) . '/modules/mining-checker/pages/index.php';
|
||||
require_once dirname(__DIR__, 3) . '/src/App/bootstrap.php';
|
||||
|
||||
use App\AppPaths;
|
||||
|
||||
require AppPaths::customAppPath(dirname(__DIR__, 3), 'mining-checker') . '/pages/index.php';
|
||||
|
||||
@@ -2,4 +2,8 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require dirname(__DIR__, 3) . '/modules/pihole/pages/index.php';
|
||||
require_once dirname(__DIR__, 3) . '/src/App/bootstrap.php';
|
||||
|
||||
use App\AppPaths;
|
||||
|
||||
require AppPaths::customAppPath(dirname(__DIR__, 3), 'pihole') . '/pages/index.php';
|
||||
|
||||
@@ -2,4 +2,8 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require dirname(__DIR__, 3) . '/modules/salesforce-translation-import/pages/index.php';
|
||||
require_once dirname(__DIR__, 3) . '/src/App/bootstrap.php';
|
||||
|
||||
use App\AppPaths;
|
||||
|
||||
require AppPaths::customAppPath(dirname(__DIR__, 3), 'salesforce-translation-import') . '/pages/index.php';
|
||||
|
||||
@@ -4,36 +4,6 @@ declare(strict_types=1);
|
||||
|
||||
require_once dirname(__DIR__, 3) . '/src/App/bootstrap.php';
|
||||
|
||||
session_start();
|
||||
use App\AppPaths;
|
||||
|
||||
$assetVersion = static function (string $publicPath): string {
|
||||
$filesystemPath = dirname(__DIR__, 2) . $publicPath;
|
||||
|
||||
if (!is_file($filesystemPath)) {
|
||||
return $publicPath;
|
||||
}
|
||||
|
||||
$mtime = filemtime($filesystemPath);
|
||||
|
||||
return $mtime === false ? $publicPath : $publicPath . '?v=' . $mtime;
|
||||
};
|
||||
?><!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>User Self Management</title>
|
||||
<link rel="stylesheet" href="<?= htmlspecialchars($assetVersion('/assets/apps/user-self-management/app.css'), ENT_QUOTES) ?>">
|
||||
</head>
|
||||
<body style="margin:0;background:#e5e7eb;">
|
||||
<div id="user-self-management-app" style="min-height:100vh;"></div>
|
||||
<script src="<?= htmlspecialchars($assetVersion('/assets/apps/user-self-management/app.js'), ENT_QUOTES) ?>"></script>
|
||||
<script>
|
||||
if (typeof window.initUserSelfManagementApp === 'function') {
|
||||
window.initUserSelfManagementApp(document.getElementById('user-self-management-app'), {
|
||||
apiBase: '/api/user-self-management/index.php',
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
require AppPaths::systemAppPath(dirname(__DIR__, 3), 'user-self-management') . '/page.php';
|
||||
|
||||
Reference in New Issue
Block a user