-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes all php short tags, adds default htaccess file and updates re…
…adme with instructions on mod_rewrite
- Loading branch information
1 parent
a27df96
commit 407db7d
Showing
5 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<h1><?= $title ?></h1> | ||
<h6>May 27th.</h6> | ||
<ul> | ||
<?php if ($prev): ?><li><a href="<?= $prev ?>">Previous</a></li><? endif ?> | ||
<?php if ($next): ?><li><a href="<?= $next ?>">Next</a></li><? endif ?> | ||
<?php if ($prev): ?><li><a href="<?php echo $prev ?>">Previous</a></li><?php endif ?> | ||
<?php if ($next): ?><li><a href="<?php echo $next ?>">Next</a></li><?php endif ?> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<h1><?= $title ?></h1> | ||
<h6>May 29th.</h6> | ||
<ul> | ||
<?php if ($prev): ?><li><a href="<?= $prev ?>">Previous</a></li><? endif ?> | ||
<?php if ($next): ?><li><a href="<?= $next ?>">Next</a></li><? endif ?> | ||
<?php if ($prev): ?><li><a href="<?php echo $prev ?>">Previous</a></li><?php endif ?> | ||
<?php if ($next): ?><li><a href="<?php echo $next ?>">Next</a></li><?php endif ?> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<h1><?= $title ?></h1> | ||
<h6>May 30th.</h6> | ||
<ul> | ||
<?php if ($prev): ?><li><a href="<?= $prev ?>">Previous</a></li><? endif ?> | ||
<?php if ($next): ?><li><a href="<?= $next ?>">Next</a></li><? endif ?> | ||
<?php if ($prev): ?><li><a href="<?php echo $prev ?>">Previous</a></li><?php endif ?> | ||
<?php if ($next): ?><li><a href="<?php echo $next ?>">Next</a></li><?php endif ?> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
RewriteEngine On | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule ^(.*)$ index.php [QSA,L] |