clear unrelevant files
|
Before Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
@@ -1,7 +1,7 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<footer class="text-center py-2 mt-6 text-secondary ">
|
||||
<p class="mb-0">Copyright © 2026 TRx WMS. Developed by <a href="https://codescandy.com/"
|
||||
<p class="mb-0">Copyright © 2026 WMS. Developed by <a href="https://codescandy.com/"
|
||||
target="_blank" class="text-primary">TR3</a> </p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
if (session_status() === PHP_SESSION_NONE) {
|
||||
|
||||
// Derive cookie path dynamically from the current script location.
|
||||
// e.g. /tr3wms/app/login/api/engine/login_otp.php → /tr3wms/
|
||||
// e.g. /wms/app/login/api/engine/login_otp.php → /wms/
|
||||
// This relies on the app always living one level under the repo root:
|
||||
// DOCUMENT_ROOT/
|
||||
// tr3wms/ ← repo root (cookie path)
|
||||
// wms/ ← repo root (cookie path)
|
||||
// app/
|
||||
// session.php ← this file is always inside app/
|
||||
$parts = explode('/', trim($_SERVER['SCRIPT_NAME'], '/'));
|
||||
$repo_name = '/' . $parts[0] . '/'; // e.g. /tr3wms/
|
||||
$repo_name = '/' . $parts[0] . '/'; // e.g. /wms/
|
||||
|
||||
ini_set('session.use_strict_mode', 1);
|
||||
ini_set('session.gc_maxlifetime', 3600);
|
||||
|
||||