- Created separate MoneyFlix project directory - Copied Node.js redirector from production server - Added CRM PHP code (Redirects module, Core classes, Config, Routes, Views) - Created comprehensive documentation (README_MONEYFLIX.md) - Added sync script to keep CRM code updated (sync-from-crm.sh) - Configured .gitignore for Node.js and PHP - Set up proper project structure for multi-client isolation This separates MoneyFlix from the main CRM to avoid confusion between different client systems and provides a dedicated environment for MoneyFlix-specific development and maintenance.
25 lines
671 B
PHP
25 lines
671 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use App\Core\View;
|
|
|
|
/* Database credentials. Assuming you are running MySQL
|
|
server with default setting (user 'root' with no password) */
|
|
define('DB_SERVER', 'localhost');
|
|
define('DB_USERNAME', 'root');
|
|
define('DB_PASSWORD', '');
|
|
define('DB_NAME', 'BitReport-php');
|
|
|
|
/* Attempt to connect to MySQL database */
|
|
$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
|
|
|
|
// Check connection
|
|
if($link === false){
|
|
die("ERROR: Could not connect. " . mysqli_connect_error());
|
|
}
|
|
|
|
$gmailid = ''; // YOUR gmail email
|
|
$gmailpassword = ''; // YOUR gmail App password
|
|
$gmailusername = ''; // YOUR gmail Username
|
|
|
|
?>
|