Started updating href paths to absolute paths instead of relative paths as itflow should be installed in document root anyway and not a sub-directory

This commit is contained in:
johnnyq
2025-09-24 12:56:01 -04:00
parent ca6a903b8f
commit e6bcf0e12f
23 changed files with 156 additions and 92 deletions

View File

@@ -19,27 +19,27 @@ header("X-Frame-Options: DENY");
<title><?= $session_company_name; ?></title>
<!-- Favicon -->
<?php if(file_exists('../uploads/favicon.ico')): ?>
<link rel="icon" type="image/x-icon" href="../../uploads/favicon.ico">
<?php if(file_exists(__DIR__ . '../uploads/favicon.ico')): ?>
<link rel="icon" type="image/x-icon" href="/uploads/favicon.ico">
<?php endif; ?>
<!-- Font Awesome -->
<link rel="stylesheet" href="../../plugins/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="/plugins/fontawesome-free/css/all.min.css">
<!-- Custom Styles -->
<link href="../../plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet" type="text/css">
<link href="../../plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css">
<link href="../../plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css" rel="stylesheet" type="text/css">
<link href="../../plugins/daterangepicker/daterangepicker.css" rel="stylesheet">
<link href="../../plugins/toastr/toastr.min.css" rel="stylesheet">
<link href="../../plugins/DataTables/datatables.min.css" rel="stylesheet">
<link href="../../plugins/intl-tel-input/css/intlTelInput.min.css" rel="stylesheet">
<link href="../../css/itflow_custom.css" rel="stylesheet">
<link rel="stylesheet" href="../../plugins/adminlte/css/adminlte.min.css">
<link href="/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet" type="text/css">
<link href="/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css">
<link href="/plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css" rel="stylesheet" type="text/css">
<link href="/plugins/daterangepicker/daterangepicker.css" rel="stylesheet">
<link href="/plugins/toastr/toastr.min.css" rel="stylesheet">
<link href="/plugins/DataTables/datatables.min.css" rel="stylesheet">
<link href="/plugins/intl-tel-input/css/intlTelInput.min.css" rel="stylesheet">
<link href="/css/itflow_custom.css" rel="stylesheet">
<link rel="stylesheet" href="/plugins/adminlte/css/adminlte.min.css">
<!-- Scripts -->
<script src="../../plugins/jquery/jquery.min.js"></script>
<script src="../../plugins/toastr/toastr.min.js"></script>
<script src="/plugins/jquery/jquery.min.js"></script>
<script src="/plugins/toastr/toastr.min.js"></script>
</head>
<body class="
hold-transition sidebar-mini layout-fixed layout-navbar-fixed