Remove: Delete duplicate validate_login.php from src/processors - keep only root endpoint

This commit is contained in:
twotalesanimation
2025-12-04 15:24:39 +02:00
parent ac460ef97f
commit 902291d8d1
12 changed files with 92 additions and 249 deletions

View File

@@ -1,9 +1,10 @@
<?php
require_once("env.php");
require_once("session.php");
require_once("connection.php");
require_once("functions.php");
require_once 'google-client/vendor/autoload.php'; // Add this line for Google Client
$rootPath = dirname(__FILE__);
require_once($rootPath . "/src/config/env.php");
require_once($rootPath . "/src/config/session.php");
require_once($rootPath . "/src/config/connection.php");
require_once($rootPath . "/src/config/functions.php");
require_once($rootPath . '/google-client/vendor/autoload.php'); // Add this line for Google Client
// Check if connection is established
if (!$conn) {