Revert "Coding convention applied - part 1"
This commit is contained in:
parent
9c2c483996
commit
7b352f3f74
181 changed files with 3507 additions and 4338 deletions
|
|
@ -59,7 +59,7 @@ function parse_url_content(App $a) {
|
|||
$redirects = 0;
|
||||
// Fetch the header of the URL
|
||||
$result = z_fetch_url($url, false, $redirects, array("novalidate" => true, "nobody" => true));
|
||||
if ($result["success"]) {
|
||||
if($result["success"]) {
|
||||
// Convert the header fields into an array
|
||||
$hdrs = array();
|
||||
$h = explode("\n", $result["header"]);
|
||||
|
|
@ -71,7 +71,7 @@ function parse_url_content(App $a) {
|
|||
$type = $hdrs["Content-Type"];
|
||||
}
|
||||
if ($type) {
|
||||
if (stripos($type, "image/") !== false) {
|
||||
if(stripos($type, "image/") !== false) {
|
||||
echo $br . "[img]" . $url . "[/img]" . $br;
|
||||
killme();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue