HEX
Server: Apache
System: Linux web2.fi.cloudlogin.co 5.10.241-xeon-hst #3 SMP Fri Aug 29 13:26:38 UTC 2025 x86_64
User: otjinenec (286614)
PHP: 8.3.25
Disabled: NONE
Upload Files
File: //usr/local/ei/symfony.php
#!/usr/local/php7.3/bin/php
<?php
$full_path = $argv[1];
$path = $argv[2];


$cmd = `cp -a /home/www/shared/symfony/$full_path/public/* .`; 

$index = file_get_contents('index.php');
$index = str_replace('__DIR__', "'/home/www/shared/symfony/$full_path/public/'", $index);
$index = str_replace('../', "/", $index);
file_put_contents('index.php', $index);