updating reports
This commit is contained in:
parent
0d0f7b2fd8
commit
c5ebc795f7
15
api/check_settings.php
Normal file
15
api/check_settings.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../db/config.php';
|
||||
require_once __DIR__ . '/../includes/functions.php';
|
||||
|
||||
header('Content-Type: text/plain');
|
||||
|
||||
$settings = get_company_settings();
|
||||
|
||||
echo "Company Settings:\n";
|
||||
print_r($settings);
|
||||
|
||||
echo "\nChecking values:\n";
|
||||
echo "whatsapp_report_enabled: " . (isset($settings['whatsapp_report_enabled']) ? $settings['whatsapp_report_enabled'] : 'NOT SET') . "\n";
|
||||
echo "whatsapp_report_number: " . (isset($settings['whatsapp_report_number']) ? $settings['whatsapp_report_number'] : 'NOT SET') . "\n";
|
||||
?>
|
||||
Loading…
x
Reference in New Issue
Block a user