Server : LiteSpeed
System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User : gazetufm ( 1431)
PHP Version : 8.1.35
Disable Function : NONE
Directory :  /home2/gazetufm/www/wp/wp-content/plugins/wp-statistics/src/Service/Database/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: DatabaseHelper.php

Path: //home2/gazetufm/www/wp/wp-content/plugins/wp-statistics/src/Service/Database/DatabaseHelper.php

Size: 608 B

Permissions: 0644

<?php

namespace WP_Statistics\Service\Database;

/**
 * Helper methods that are used by the database service.
 * 
 * @package WP_Statistics\Service\Database
 */
class DatabaseHelper
{
    /**
     * Get the absolute URL of the current admin (Dashboard) screen.
     *
     * @return string Absolute admin URL for the current screen or empty string.
     */
    public static function getCurrentAdminUrl()
    {
        global $pagenow;

        $base = ! empty($pagenow) ? self_admin_url($pagenow) : self_admin_url('index.php');

        return rawurlencode(add_query_arg(wp_unslash($_GET), $base));
    }
}

← Back to Directory Edit File 🔒 Chmod

WP File Manager