Fix: Add env.php include to delete_trip and toggle_trip_published processors
This commit is contained in:
BIN
assets/images/trips/7_01.jpg
Normal file
BIN
assets/images/trips/7_01.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
BIN
assets/images/trips/8_01.jpg
Normal file
BIN
assets/images/trips/8_01.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
BIN
assets/images/trips/8_02.jpg
Normal file
BIN
assets/images/trips/8_02.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
BIN
assets/images/trips/8_03.jpg
Normal file
BIN
assets/images/trips/8_03.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
BIN
assets/images/trips/8_04.jpg
Normal file
BIN
assets/images/trips/8_04.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
assets/images/trips/8_05.jpg
Normal file
BIN
assets/images/trips/8_05.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 226 KiB |
@@ -3,6 +3,7 @@ ob_start();
|
||||
header('Content-Type: application/json');
|
||||
|
||||
$rootPath = dirname(dirname(__DIR__));
|
||||
require_once($rootPath . "/src/config/env.php");
|
||||
require_once($rootPath . '/src/config/functions.php');
|
||||
require_once($rootPath . '/src/config/connection.php');
|
||||
|
||||
|
||||
@@ -160,7 +160,7 @@ try {
|
||||
}
|
||||
|
||||
// Optimize image (resize if too large)
|
||||
optimizeImage($file_path, 1920, 1080);
|
||||
// optimizeImage($file_path, 1920, 1080);
|
||||
|
||||
$image_count++;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ ob_start();
|
||||
header('Content-Type: application/json');
|
||||
|
||||
$rootPath = dirname(dirname(__DIR__));
|
||||
require_once($rootPath . "/src/config/env.php");
|
||||
require_once($rootPath . '/src/config/functions.php');
|
||||
require_once($rootPath . '/src/config/connection.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user