HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/plugins/perfect-survey/ps-bootstrap.php
<?php

/**
* Core constants
*/
define('PRSV_BASE_PATH',dirname(__FILE__));

define('PRSV_BASE_PATH_CLASSES',PRSV_BASE_PATH.'/lib/classes');

define('PRSV_BASE_PATH_HELPERS',PRSV_BASE_PATH.'/lib/helpers');

define('PRSV_BASE_PATH_CONFIGS',PRSV_BASE_PATH.'/configs');

define('PRSV_BASE_PATH_RESOURCES',PRSV_BASE_PATH.'/resources');

define('PRSV_BASE_PATH_RESOURCES_BACKEND',PRSV_BASE_PATH_RESOURCES .'/backend');

define('PRSV_BASE_PATH_RESOURCES_FRONTEND',PRSV_BASE_PATH_RESOURCES .'/frontend');

/**
* Configurations
*/
require_once PRSV_BASE_PATH_CONFIGS. '/config.php';

/**
* Ps classes
*/
require_once PRSV_BASE_PATH_CLASSES . '/PerfectSurvey.php';

global $ps;/*@var $ps_configs PerfectSurvey*/

$ps  = new PerfectSurvey();

$ps->boot();

return $ps;