CMXX - Updated Products page

This commit is contained in:
“VeLiTi”
2025-02-04 12:59:28 +01:00
parent 68a16e5419
commit fa09268cd8
9 changed files with 375 additions and 237 deletions

View File

@@ -10,7 +10,7 @@ $base_url .= '/' . ltrim(substr(str_replace('\\', '/', realpath(__DIR__)), strle
define('base_url', rtrim($base_url, '/') . '/');
session_start();
// Include the configuration file, this contains settings you can change.
include '../config.php';
include '../custom/settings/config.php';
// Include functions and connect to the database using PDO MySQL
include '../functions.php';
// Connect to MySQL database

View File

@@ -1,7 +1,7 @@
<?php
defined('admin') or exit;
// Configuration file
$file = '../config.php';
$file = '../custom/settings/config.php';
// Open the configuration file for reading
$contents = file_get_contents($file);
// Format key function