There was an error while loading. Please reload this page.
The file autoload.php.blank can be safely deleted.
autoload.php.blank
To activate, rename file autoload.php.blank to autoload.php. It is executed here:
autoload.php
https://github.com/modxcms/evolution/blob/v1.2/autoload.php.blank https://github.com/modxcms/evolution/blob/v1.2/index.php#L50
If setting via .htaccess is not possible, autoload.php can be used to change PHP-settings at run-time.
.htaccess
<?php setlocale (LC_ALL, 'en_EN'); ini_set('display_errors', '1');
For example if a site became compromised / hacked or for whatever reason, autoload.php can be easily used to log suspicious server-requests.
<?php file_put_contents('your_secret_directory/log_server.txt', print_r($_SERVER,true), FILE_APPEND); file_put_contents('your_secret_directory/log_request.txt',print_r($_REQUEST,true), FILE_APPEND); exit;