Skip to content

Commit

Permalink
whatever i changed
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchy- committed Jan 25, 2015
1 parent f6ae94c commit 94afd09
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion website/o.my.to.inc
Expand Up @@ -68,7 +68,12 @@ function load_urls()
$urls=array();
for ($i=0;$i<count($lines);$i++)
{
$parts=explode("|",$lines[$i]);
$line=trim($lines[$i]);
if ($line=="")
{
continue;
}
$parts=explode("|",$line);
$id=$parts[0];
array_shift($parts);
$long=trim(implode("|",$parts));
Expand Down
7 changes: 6 additions & 1 deletion website/paste.my.to.inc
Expand Up @@ -59,7 +59,12 @@ function load_pastes()
$pastes=array();
for ($i=0;$i<count($lines);$i++)
{
$parts=explode("|",$lines[$i]);
$line=trim($lines[$i]);
if ($line=="")
{
continue;
}
$parts=explode("|",$line);
$id=$parts[0];
$content=unserialize(base64_decode($parts[1]));
if (($id=="") or ($content==""))
Expand Down

0 comments on commit 94afd09

Please sign in to comment.