1
0
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:
Shikiryu 2011-01-07 13:35:09 +00:00
parent 6869f1e733
commit 4007da6e9d

View File

@ -28,6 +28,6 @@ elseif($ret === ShortURL::STATE_ALREADY_EXIST){
exit; exit;
} }
else{ else{
echo 'alert("Raccourci cr&eacute;&eacute; : <a href="http://'.$_SERVER['SERVER_NAME'].$folder.rawurlencode($newname).'">http://'.$_SERVER['SERVER_NAME'].$folder.rawurlencode($newname).'</a>");'; echo 'alert("Raccourci cr&eacute;&eacute; : http://'.$_SERVER['SERVER_NAME'].$folder.rawurlencode($newname).'");';
exit; exit;
} }