<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,7 +13,7 @@ $cfg = array(
     'tpl_body' =&gt; '&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt; 
 &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt; 
 &lt;head&gt; 
-&lt;title&gt;ACShortener&lt;/title&gt; 
+&lt;title&gt;Shortcore&lt;/title&gt; 
 &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=ISO-8859-1&quot; /&gt; 
 &lt;/head&gt; 
 &lt;body&gt;</diff>
      <filename>shortcore.config.php</filename>
    </modified>
    <modified>
      <diff>@@ -15,7 +15,7 @@ $cfg = array(
     'tpl_body' =&gt; '&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
 &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
 &lt;head&gt;
-&lt;title&gt;ACShortener&lt;/title&gt;
+&lt;title&gt;Shortcore&lt;/title&gt;
 &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=ISO-8859-1&quot; /&gt;
 &lt;/head&gt;
 &lt;body&gt;
@@ -142,7 +142,7 @@ class Shortcore {
                                 $this-&gt;cfg['table'], $id, $url, $title, $time);
             if ($this-&gt;DEBUG) print_r($sql_insert);
         $this-&gt;db-&gt;query($sql_insert);
-        $this-&gt;page($url);
+        $this-&gt;page($cfg['home'].'_'.$id.'_');
     }
 
     /**
@@ -154,6 +154,7 @@ class Shortcore {
             $arg = $this-&gt;cfg['home'];
         }
         $this-&gt;_e('[page] '.$arg);
+        header('HTTP/1.1 301 Moved Permanently');
         header('Location: '.$arg);
         exit;
     }</diff>
      <filename>shortcore.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a5cc9b37b6005d408a1b021ff8648c3ca34bb986</id>
    </parent>
  </parents>
  <author>
    <name>Florian Anderiasch</name>
    <email>fa@art-core.org</email>
  </author>
  <url>http://github.com/winks/shortcore/commit/918cbe47ad225d72c979ddcd7a51c652b20177f9</url>
  <id>918cbe47ad225d72c979ddcd7a51c652b20177f9</id>
  <committed-date>2009-07-02T16:48:49-07:00</committed-date>
  <authored-date>2009-07-02T16:48:49-07:00</authored-date>
  <message>added 301 and add() now redirects to _id_</message>
  <tree>8f74c93a92c2cef52b29a8cf1e97f9cc70d71c51</tree>
  <committer>
    <name>Florian Anderiasch</name>
    <email>fa@art-core.org</email>
  </committer>
</commit>
