Fix cart.php and order.php to use centralized db.php
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
490b35c556
commit
92e410a030
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ ini_set('display_startup_errors', 1);
|
|||
error_reporting(E_ALL);
|
||||
global $db, $view, $settings;
|
||||
|
||||
include "panel/_db.php";
|
||||
include "db.php";
|
||||
|
||||
|
||||
$user_id=$_SESSION['user_id'] ?? 0;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ In our website, we are setting "post" pages with a "Tag". The first tag in our p
|
|||
There are other methods that might be better to get the info. But all we need is the "service_ID" in the "ogp_billing_services" table
|
||||
This method means we can use one code block in every game page and fill in the data dynamically.
|
||||
*/
|
||||
include "panel/_db.php";
|
||||
include "db.php";
|
||||
|
||||
|
||||
if (isset($_POST['save']) AND !empty($_POST['description']))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue