Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
diplex
/
wp-content
/
plugins
/
file-manager-advanced
/
application
/
library
/
exec-with-fallback
:
autoload.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * ExecWithFallback Autoloader * * Simple autoloader for exec-with-fallback library * * @package Advanced File Manager * @since 1.0.0 */ // Skip ABSPATH check for standalone testing if ( defined( 'ABSPATH' ) ) { // WordPress environment - continue } else { // Standalone testing - continue } // Define the library path $lib_path = dirname( __FILE__ ) . '/src/'; // Load all required files in correct order require_once $lib_path . 'ExecWithFallback.php'; require_once $lib_path . 'ExecWithFallbackNoMercy.php'; require_once $lib_path . 'Passthru.php'; require_once $lib_path . 'POpen.php'; require_once $lib_path . 'ProcOpen.php'; require_once $lib_path . 'ShellExec.php'; require_once $lib_path . 'Availability.php';