HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/biblioteka/wp-content/plugins/gallery-by-supsystic/src/GridGallery/Developer/Model.php
<?php

/**
 * Class GridGallery_Developer_Model
 *
 * @package GridGallery\Developer
 * @author Artur Kovalevsky
 */
class GridGallery_Developer_Model extends RscSgg_Mvc_Model
{

    /**
     * Returns the data about WordPress
     * @return array
     */
    public function getWordpressData()
    {
        global $wp_version, $wp_db_version;

        return array(
            'version' => $wp_version,
            'db_revision' => $wp_db_version,
            'locale' => get_locale(),
        );
    }

    /**
     * Returns the data about PHP
     * @return array
     */
    public function getPhpData()
    {
        return array(
            'version' => PHP_VERSION,
            'zend_version' => zend_version(),
            'operating_system' => php_uname(),
            'memory_limit' => ini_get('memory_limit'),
            'disabled_functions' => implode(', ', explode(',', ini_get('disable_functions'))),
            'extensions' => implode(', ', get_loaded_extensions()),
        );
    }

}