HEX
Server: LiteSpeed
System: Linux venus 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: axxoncom (1007)
PHP: 8.3.19
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/axxoncom/domains/draqee.com/public_html/wp-content/plugins/tidio-live-chat/src/Config.php
<?php

namespace TidioLiveChat;

if (!defined('WPINC')) {
    die('File loaded directly. Exiting.');
}

final class Config
{
    /**
     * @var array|null
     */
    private static $config = null;

    /**
     * @return string
     */
    public static function getApiUrl()
    {
        return self::getConfig()['tidio_api_url'];
    }

    /**
     * @return string
     */
    public static function getPanelUrl()
    {
        return self::getConfig()['tidio_panel_url'];
    }

    /**
     * @return string
     */
    public static function getWidgetUrl()
    {
        return self::getConfig()['tidio_widget_url'];
    }

    /**
     * @return string
     */
    public static function getDebugLogPath()
    {
        return self::getConfig()['debug_log_path'];
    }

    /**
     * @return array<string, string>
     */
    private static function getConfig()
    {
        if (self::$config === null) {
            self::$config = require __DIR__ . '/../config.php';
        }

        return self::$config;
    }
}