1
0
mirror of https://github.com/gamaio/lobli.git synced 2024-12-22 11:42:40 +00:00

Move seperator into process.php and test shorten function

This commit is contained in:
alopexc0de 2014-07-03 15:20:44 -04:00
parent c2dbb861d0
commit 27f70868b3

View File

@ -5,6 +5,8 @@
$catchid = $catches[0];
$catchVal = $catches[1];
$seperator = ""; // Chosen because it looks like a smiling face
// Returns will be in the structure: Message code / seperator / extra data and will be formatted client side
/*
Message codes:
@ -96,11 +98,11 @@
if(strpos($short, "http://") === false && strpos($short, "https://") === false){
$short = "http://$short";
}
echo shorten($shortdb, $short);
echo shorten($shortdb, $short, $seperator);
foreach($messages as $message){
echo $message;
}
//foreach($messages as $message){
// echo $message;
//}
}else{ die("<div id=\"danger\" class=\"alert alert-danger\">I can't do my job if I'm not given a link to work on...</div>"); }