HEX
Server: Apache
System: Linux server11 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
User: web78 (5081)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/clients/client1/web78/web/wp-content/plugins/quick-adsense/includes/loader.php
<?php
/**
 * Return the content of the File after processing.
 *
 * @param string  $file File name.
 * @param array   $args Data to pass to the file.
 * @param boolean $echo Choose whether to echo or return the output.
 */
function quick_adsense_load_file( $file, $args = [], $echo = false ) {
	if ( ( '' !== $file ) && file_exists( dirname( __FILE__ ) . '/' . $file ) ) {
		if ( is_array( $args ) ) {
			//phpcs:disable WordPress.PHP.DontExtract.extract_extract
			// Usage of extract() is necessary in this content to simulate templating functionality.
			extract( $args );
			//phpcs:enable
		}
		ob_start();
		include dirname( __FILE__ ) . '/' . $file;
		$content = ob_get_contents();
		ob_end_clean();
		if ( $echo ) {
			echo wp_kses( $content, quick_adsense_get_allowed_html() );
		}
		return $content;
	}
}