-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_logo.php
More file actions
69 lines (61 loc) · 2.97 KB
/
test_logo.php
File metadata and controls
69 lines (61 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Auburn CMS - Logo Test</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container mt-5">
<h1>Auburn CMS - Logo Path Test</h1>
<div class="row">
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h5>Logo.svg Test</h5>
</div>
<div class="card-body text-center">
<p>Using absolute path: <code>/admin/files/logo.svg</code></p>
<img src="/admin/files/logo.svg" width="72" height="72" alt="Logo SVG - Absolute" class="border">
<hr>
<p>Using relative path: <code>admin/files/logo.svg</code></p>
<img src="admin/files/logo.svg" width="72" height="72" alt="Logo SVG - Relative" class="border">
</div>
</div>
</div>
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h5>Favicon Test</h5>
</div>
<div class="card-body text-center">
<p>Using absolute path: <code>/admin/files/favicon.png</code></p>
<img src="/admin/files/favicon.png" width="72" height="72" alt="Favicon PNG - Absolute" class="border">
<hr>
<p>Using relative path: <code>admin/files/favicon.png</code></p>
<img src="admin/files/favicon.png" width="72" height="72" alt="Favicon PNG - Relative" class="border">
</div>
</div>
</div>
</div>
<div class="row mt-4">
<div class="col-12">
<div class="alert alert-info">
<h6>Path Test Results:</h6>
<ul>
<li>If you see all 4 images above, the paths are working correctly</li>
<li>If some are missing, there might be path issues</li>
<li>Absolute paths (starting with /) work from anywhere in the site</li>
<li>Relative paths work only from the correct directory level</li>
</ul>
</div>
<div class="d-grid gap-2 d-md-flex justify-content-md-end">
<a href="install.php" class="btn btn-primary">Go to Installation</a>
<a href="index.php" class="btn btn-secondary">Go to Login</a>
</div>
</div>
</div>
</div>
</body>
</html>