mirror of
https://github.com/Chouchen/shorturl.git
synced 2018-06-07 06:34:38 +02:00
Bad JS, duh
This commit is contained in:
parent
6869f1e733
commit
4007da6e9d
2
add.php
2
add.php
@ -28,6 +28,6 @@ elseif($ret === ShortURL::STATE_ALREADY_EXIST){
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
echo 'alert("Raccourci créé : <a href="http://'.$_SERVER['SERVER_NAME'].$folder.rawurlencode($newname).'">http://'.$_SERVER['SERVER_NAME'].$folder.rawurlencode($newname).'</a>");';
|
echo 'alert("Raccourci créé : http://'.$_SERVER['SERVER_NAME'].$folder.rawurlencode($newname).'");';
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user