403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.216.174
Web Server : Apache
System : Linux infongwp-us3 4.4.400-icpu-108 #2 SMP Wed Feb 11 10:12:42 UTC 2026 x86_64
User : u102440577 ( 7172810)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/44/d845879113/htdocs/app849812966/wp-content/plugins/ionos-sso/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/44/d845879113/htdocs/app849812966/wp-content/plugins/ionos-sso/inc//class-helper.php
<?php

namespace Ionos\SSO;

use Ionos\Sso\Config;

if ( ! defined( 'ABSPATH' ) ) {
	die();
}

/**
 * Helper class
 */
class Helper {

	/**
	 * Get the url of the css folder
	 *
	 * @param string $file // css file name.
	 *
	 * @return string
	 */
	public static function get_css_url( string $file = '' ) {
		return plugins_url( 'css/' . $file, __DIR__ );
	}

	public static function get_css_path( $file = '' ) {
		return self::get_plugin_dir_path() . 'css/' . $file;
	}

	public static function get_plugin_dir_path() {
		return plugin_dir_path( __DIR__ );
	}

	/**
	 * Is the SSO enabled/authorized?
	 */
	public static function is_enabled() {
		return '1' === Config::get( 'main.enabled' ) && is_ssl();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit