📁
SKYSHELL MANAGER
PHP v8.1.34
Create
Create
Path:
root
/
home
/
terracebizon
/
public_html
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
config.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
12934.91 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: pear-dh-ini2xml
#!/usr/local/cpanel/3rdparty/php/84/bin/php <?php /** * Converts the old-style INI-language files into XML-files that * are used from version 0.14.0+. * * @version $Id$ * @author Carsten Lucke <luckec@php.net> */ $frame = <<<EOT <?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> <driver-data> <holidays> __DATA__ </holidays> </driver-data> EOT; $template = <<<EOT <holiday> <internal-name>__INTERNALNAME__</internal-name> <translation>__TRANSLATION__</translation> </holiday> EOT; array_shift($_SERVER['argv']); if ($_SERVER['argc'] < 1) { die('Call this file from command line: ini2xml.php <file-to-convert> [<file-to-convert> [...]]' . "\n"); } foreach ($_SERVER['argv'] as $filename) { $newFilename = str_replace('.ini', '.xml', $filename); $contents = parse_ini_file($filename); $_xml = ''; foreach ($contents as $internalName => $translation) { $_tmp = str_replace('__INTERNALNAME__', $internalName, $template); $_tmp = str_replace('__TRANSLATION__', $translation, $_tmp); $_xml .= $_tmp; } $c = str_replace('__DATA__', $_xml, $frame); $fp = fopen($newFilename, 'w'); fwrite($fp, $c, strlen($c)); } ?>
Save