HEX
Server: nginx/1.24.0
System: Linux server 6.12.74+deb13+1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.74-2 (2026-03-08) x86_64
User: www (1001)
PHP: 8.5.2
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/claudiayancor.duckdns.org/wp-content/plugins/photonic/uninstall.php
<?php
if (!defined('WP_UNINSTALL_PLUGIN')) {
	exit;
}

delete_option('photonic_options');
delete_option('photonic_authentication');
delete_option('photonic_css');

$photonic_token_monitor_timestamp = wp_next_scheduled('photonic_token_monitor');
wp_unschedule_event($photonic_token_monitor_timestamp, 'photonic_token_monitor');

/*
$url = wp_nonce_url('plugins.php?page=photonic-options-manager');
if (false === ($creds = request_filesystem_credentials($url, '', false, false))) {
	return true;
}

if (!WP_Filesystem($creds)) {
	request_filesystem_credentials($url, '', true, false);
	return true;
}

global $wp_filesystem;
if (!is_dir(PHOTONIC_UPLOAD_DIR)) {
	if (!$wp_filesystem->mkdir(PHOTONIC_UPLOAD_DIR)) {
		echo "<div class='error'><p>Failed to create directory ".PHOTONIC_UPLOAD_DIR.". Please check your folder permissions.</p></div>";
		return false;
	}
}

$filename = trailingslashit(PHOTONIC_UPLOAD_DIR).'custom-styles.css';

if (empty($custom_css)) {
	return false;
}

if (!$wp_filesystem->put_contents($filename, $custom_css, FS_CHMOD_FILE)) {
	echo "<div class='error'><p>Failed to save file $filename. Please check your folder permissions.</p></div>";
	return false;
}



$upload_dir = wp_upload_dir();
$photonic_dir = trailingslashit($upload_dir['basedir']).'photonic';
if (@file_exists($photonic_dir)) {
	WP_Filesystem_Direct::delete($upload_dir, true);
}
*/