mirror of https://github.com/Chouchen/shorturl.git
Bad JS, duh
This commit is contained in:
parent
d6a1617f0c
commit
34238481ad
|
@ -28,6 +28,6 @@ elseif($ret === ShortURL::STATE_ALREADY_EXIST){
|
|||
exit;
|
||||
}
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue