fix install script9
This commit is contained in:
parent
e1be64747c
commit
ea9e3726da
|
|
@ -181,8 +181,8 @@ deploy_ui() {
|
|||
error_exit "UI files not found. Please run this script from the UI directory."
|
||||
fi
|
||||
|
||||
# Copy main UI files
|
||||
cp -r public includes assets "$WEB_DIR/" || error_exit "Failed to copy UI files"
|
||||
# Copy main UI files (assets are now inside public)
|
||||
cp -r public includes "$WEB_DIR/" || error_exit "Failed to copy UI files"
|
||||
|
||||
# Copy root-level PHP files for direct access (when document root is main directory)
|
||||
if [[ -f "index.php" ]]; then
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@ $systemStatus = $enrollmentManager->getSystemStatus();
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><?php echo APP_NAME; ?> - Dashboard</title>
|
||||
<link rel="stylesheet" href="<?php echo getAssetPath('css/style.css'); ?>">
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo getAssetPath('images/favicon.ico'); ?>">
|
||||
<link rel="stylesheet" href="assets/css/style.css">
|
||||
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
|
||||
</head>
|
||||
<body>
|
||||
<div class="dashboard-container">
|
||||
|
|
@ -305,6 +305,6 @@ $systemStatus = $enrollmentManager->getSystemStatus();
|
|||
</main>
|
||||
</div>
|
||||
|
||||
<script src="<?php echo getAssetPath('js/app.js'); ?>"></script>
|
||||
<script src="assets/js/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -48,8 +48,8 @@ if (isset($loginError)) {
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><?php echo APP_NAME; ?> - Login</title>
|
||||
<link rel="stylesheet" href="<?php echo getAssetPath('css/style.css'); ?>">
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo getAssetPath('images/favicon.ico'); ?>">
|
||||
<link rel="stylesheet" href="assets/css/style.css">
|
||||
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
|
||||
</head>
|
||||
<body>
|
||||
<div class="login-container">
|
||||
|
|
|
|||
Loading…
Reference in New Issue