Users now have the ability to edit their own pastes

This commit is contained in:
pikami
2017-04-02 11:49:39 +00:00
parent 352f24fcd9
commit b37b3264d7
8 changed files with 142 additions and 16 deletions

View File

@@ -6,4 +6,5 @@ RewriteBase "/paste/"
RewriteRule ^u/([A-Za-z0-9-]+)/?$ index.php?user=$1
RewriteRule ^delete/([A-Za-z0-9-]+)/?$ delete.php?id=$1
RewriteRule ^edit/([A-Za-z0-9-]+)/?$ index.php?page=edit&id=$1
RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?page=$1