From 1d684d77302bbae5431552ba7b3bbf97c2a0fb2c Mon Sep 17 00:00:00 2001 From: aStelm Date: Mon, 17 Apr 2023 20:00:09 +0300 Subject: [PATCH] require_once('config.php') fix --- grab_counteragents.php | 1 + grab_orders.php | 1 + grab_shops.php | 1 + 3 files changed, 3 insertions(+) diff --git a/grab_counteragents.php b/grab_counteragents.php index a5183a9..7beeac9 100644 --- a/grab_counteragents.php +++ b/grab_counteragents.php @@ -5,6 +5,7 @@ if (php_sapi_name() != "cli") die("Only CLI mode allowed!"); } +require_once("config.php"); require_once("class_livesklad.php"); require_once("class_MysqliDb.php"); diff --git a/grab_orders.php b/grab_orders.php index cd68841..904bce7 100644 --- a/grab_orders.php +++ b/grab_orders.php @@ -5,6 +5,7 @@ if (php_sapi_name() != "cli") die("Only CLI mode allowed"); } +require_once("config.php"); require_once("class_livesklad.php"); require_once("class_MysqliDb.php"); diff --git a/grab_shops.php b/grab_shops.php index c713da6..29e545a 100644 --- a/grab_shops.php +++ b/grab_shops.php @@ -5,6 +5,7 @@ if (php_sapi_name() != "cli") die("Only CLI mode allowed!"); } +require_once("config.php"); require_once("class_livesklad.php"); require_once("class_MysqliDb.php");