Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
3 changes: 2 additions & 1 deletion public/html/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@

// Adjust path for admin pages
if (str_starts_with($page, 'admin/')) {
$page_file = '../' . $page_file; // Ensure it's relative to the 'public' directory
$page_file = '../' . $page_file;
}

//Check if the file exists and if it does include it on the page
if (file_exists($page_file)) {
include_once($page_file);
} else {
Expand Down
1 change: 1 addition & 0 deletions public/php/mysqlTables.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
)"
];

// Runs all the tables creations
try {
foreach ($queries as $sql) {
$conn->exec($sql);
Expand Down