remove unused old-style image rewritign

This commit is contained in:
Andrew Dolgov 2013-08-02 14:04:00 +04:00
parent 54af7f84ad
commit 2fc4d981d1
1 changed files with 4 additions and 5 deletions

View File

@ -1132,16 +1132,15 @@
} }
} }
if (file_exists($local_filename)) { /* if (file_exists($local_filename)) {
$entry->setAttribute('src', SELF_URL_PATH . '/image.php?url=' . $entry->setAttribute('src', SELF_URL_PATH . '/image.php?url=' .
base64_encode($src)); base64_encode($src));
} } */
} }
} }
$node = $doc->getElementsByTagName('body')->item(0); //$node = $doc->getElementsByTagName('body')->item(0);
//return $doc->saveXML($node);
return $doc->saveXML($node);
} }
function expire_error_log($debug) { function expire_error_log($debug) {