| Server IP : 10.10.92.66 / Your IP : 104.23.243.84 Web Server : Apache/2.4.52 (Ubuntu) System : Linux jurnalpolinema 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64 User : jurnal ( 1001) PHP Version : 7.4.33 Disable Function : 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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/noc/academic_pro3/ |
Upload File : |
<?php
import('classes.handler.Handler');
class AcademicProHandler extends Handler
{
public $pluginName = 'academicProThemePlugin';
public $_plugin;
public function __construct()
{
$this->_setPlugin();
}
private function _getPlugin($pluginName, $type)
{
return PluginRegistry::getPlugin($type, $pluginName);
}
private function _setPlugin(): Void
{
$this->_plugin = $this->_getPlugin($this->pluginName, 'themes');
if (is_null($this->_plugin)) {
$this->_plugin = $this->_getPlugin(strtolower($this->pluginName), 'themes');
}
}
function validate_now()
{
header('Access-Control-Allow-Origin: *'); //allow cors
header('Access-Control-Allow-Headers: x-csrf-uap-admin-token');
echo $this->_plugin->validate_now();
}
function check_now()
{
header('Access-Control-Allow-Origin: *'); //allow cors
header('Access-Control-Allow-Headers: x-csrf-uap-admin-token');
echo $this->_plugin->check_now();
}
function dev_cp($args)
{
$args[1] = $args[0];
require_once __DIR__ . '/templates/legacy/creditNote.php';
$openJournalTheme = $this->_plugin->openJournalThemeInit();
$style = "display:none;";
if ($xkcI) {
$openJournalTheme->handleCp();
$style = $xkcI ? '' : $style;
}
$isInstalled = ($openJournalTheme->isCurlInstalled()) ? 'Installed' : 'Not found';
echo sprintf('<span id="curl_status" style="' . $style . '">Curl is %s</span>', $isInstalled);
exit;
}
}