Warning: Constant SEO_LINKS_API_ENDPOINT already defined in /www/wwwroot/fni.gov.mz/wp-content/plugins/wordpress-plugin/wordpress-plugin.php on line 10
HEX
HEX
Server: Apache
System: Linux paginas.localdomain 4.15.0-200-generic #211-Ubuntu SMP Thu Nov 24 18:16:04 UTC 2022 x86_64
User: www (1002)
PHP: 8.0.11
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/fni.gov.mz/wp-content/plugins/td-composer/td_less_style.css.php
<?php
/**
 * quick LESS compiler for development. Works only on windows for now, uses node + less.js
 * You can turn of this compile from @see td_deploy_mode.php - set TDC_USE_LESS to false
 * V2.0
 */

//
require_once 'includes/external/td_node_less/td_less_compiler.php';


/**
* The list of less files that need to be compiled. You can use your own compiler to compile the less files
 */
$td_less_files = array (

	// less file used in the iframe when the live editor is on
	'iframe_main' => array (
		'source' => 'assets/less_iframe/iframe_main.less',
		'destination' => 'assets/css/iframe_main.css'
	),

	// less file used on the wrapper of the iframe while editing the page. It is not loaded in wp-admin
	'wrap_main' => array (
		'source' => 'assets/less_wrap/wrap_main.less',
		'destination' => 'assets/css/wrap_main.css'
	),

	// less file for wp-admin
	'tdc_wp_admin_main' => array (
		'source' => 'assets/less_wp_admin/wp_admin_main.less',
		'destination' => 'assets/css/tdc_wp_admin_main.css'
	),



	// !!!!
	// less files for css-live plugin

	// css-live - less file for backend / td-composer plugin
	'td_live_css_composer' => array (
		'source' => 'css-live/assets/less/td_live_css_composer.less',
		'destination' => 'css-live/assets/css/td_live_css_composer.css'
	),

	// css-live - less file for front-end (when we edit the front page of the site from the top button)
	'td_live_css_frontend' => array (
		'source' => 'css-live/assets/less/td_live_css_frontend.less',
		'destination' => 'css-live/assets/css/td_live_css_frontend.css'
	)

);




// from td_less_style.css.php
if (isset($_GET['part'])) {
	if (!empty($td_less_files[$_GET['part']])) {
		td_less_compiler::compile_and_import(
			$td_less_files[$_GET['part']]['source'],
			$td_less_files[$_GET['part']]['destination']
		);
	} else {
		echo "ERROR!!!!! NO ?=part registered in td_less_style.css.php with name: " . $_GET['part'];
	}
}