Commit 0ca12171 authored by Corentin Bettiol's avatar Corentin Bettiol 💻

oops

parent 663ba409
......@@ -14,6 +14,7 @@
RewriteRule ^/(about|changelog|blog|rss|projects|contact|patate|eplucher)$ /index.php?action=$1
RewriteRule ^/article/([-a-z0-9]+)$ /index.php?action=blog&title=$1
RewriteRule ^/project/([-a-z0-9]+)$ /index.php?action=project&title=$1
RewriteRule ^/patate/(blog|project)/([-a-z0-9]+)/(edit|submit|delete)$ /index.php?action=patate&type=$1$3&title=$2
RewriteRule ^/patate/(blog|project)/submit$ /index.php?action=patate&type=$1submit
RewriteRule ^/patate/(blog|project)/([-a-z0-9]+)/(edit|delete)$ /index.php?action=patate&type=$1$3&title=$2
</VirtualHost>
......@@ -14,9 +14,9 @@
<p>
<?php
if(isset($_GET['title']))
echo $blogpost['shortContent'];
else
echo nl2br($blogpost['content']);
else
echo nl2br($blogpost['shortContent']);
?>
</p>
</section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment