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

oops

parent 663ba409
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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>
+2 −2
Original line number Diff line number Diff line
@@ -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>