|
|
|
|
|
|
|
|
|
|
checkinfo->info->root_url.'/'.$this->checkinfo->frontend->path ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wget --max-redirect=10000 "checkinfo->info->root_url.'/'.$this->checkinfo->frontend->path ?>" -O - 1>/dev/null 2>/dev/null
curl -L --max-redirs 1000 -v "checkinfo->info->root_url.'/'.$this->checkinfo->frontend->path ?>" 1>/dev/null 2>/dev/null
$curl_handle=curl_init();
curl_setopt($curl_handle, CURLOPT_URL, 'checkinfo->info->root_url.'/'.$this->checkinfo->frontend->path ?>');
curl_setopt($curl_handle,CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($curl_handle,CURLOPT_MAXREDIRS, 10000);
curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER, 1);
$buffer = curl_exec($curl_handle);
curl_close($curl_handle);
if (empty($buffer))
echo "Sorry, the backup didn't work.";
else
echo $buffer;
checkinfo->info->root_url ?>/checkinfo->frontend->path ?>
container->application->getDocument()->addScriptDeclaration( <<