dynamin base url

This commit is contained in:
Thanakorn S
2026-05-12 14:11:00 +07:00
parent 5c6a478b40
commit 2afaef53a0
9 changed files with 33 additions and 35 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<?php
$base = $base ?? '/mn3wms/landing';
$app_url = $app_url ?? '/mn3wms/app';
$base = $base ?? '/landing';
$app_url = $app_url ?? '/app';
?>
<!-- Footer -->
<div class="footer">
+1 -1
View File
@@ -3,7 +3,7 @@
// Caller may define $page_title and $page_description before requiring this file.
$page_title = $page_title ?? 'MN3 WMS — Warehouse Management System';
$page_description = $page_description ?? 'MN3 WMS — A cloud-ready Warehouse Management System for stock control, order fulfillment, and barcode labeling.';
$base = $base ?? '/mn3wms/landing';
$base = $base ?? '/landing';
?>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+2 -2
View File
@@ -1,6 +1,6 @@
<?php
$base = $base ?? '/mn3wms/landing';
$app_url = $app_url ?? '/mn3wms/app';
$base = $base ?? '/landing';
$app_url = $app_url ?? '/app';
?>
<nav id="navbarExample" class="navbar navbar-expand-lg fixed-top navbar-light" aria-label="Main navigation">
<div class="container">
+1 -1
View File
@@ -1,4 +1,4 @@
<?php $base = $base ?? '/mn3wms/landing'; ?>
<?php $base = $base ?? '/landing'; ?>
<script src="<?= $base ?>/js/bootstrap.min.js"></script>
<script src="<?= $base ?>/js/swiper.min.js"></script>
<script src="<?= $base ?>/js/purecounter.min.js"></script>