Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mets.corals.io/wp-content/plugins/w3-total-cache/pub/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mets.corals.io/wp-content/plugins/w3-total-cache/pub/js/options-validator.js
jQuery(document).ready(function() {
	jQuery('textarea[w3tc-data-validator="regexps"]').change(function() {
		var v = jQuery(this).val();
		var items = v.split("\n");

		for (var n = 0; n < items.length; n++) {
			var regexp = items[n].trim();
			if (regexp.length > 0) {
				try {
					new RegExp(regexp);
				} catch(e) {
					var error = 'Contains invalid regexp ' + regexp +', please fix';
					console.log(error);
					jQuery(this)[0].setCustomValidity(error);
					return;
				}
			}
		}

		jQuery(this)[0].setCustomValidity('');
	});
});

Spamworldpro Mini