<?php
require_once 'config.php';

echo "Test 1: Funkcija postoji? ";
echo function_exists('getPlatformSetting') ? "DA" : "NE";
echo "<br>";

echo "Test 2: Dohvat settinga: ";
try {
    $result = getPlatformSetting('analytics_slug', 'analitika');
    echo $result;
} catch (Exception $e) {
    echo "GREŠKA: " . $e->getMessage();
}
?>