Your IP : 216.73.216.74


Current Path : /proc/thread-self/root/usr/local/ei2/
Upload File :
Current File : //proc/thread-self/root/usr/local/ei2/zend.php

#!/usr/local/php7.3/bin/php
<?php
$full_path = $argv[1];

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

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