Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced some deleted content #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed bug where CONTENT_DIR failed on uppercase
gnastacast authored Feb 22, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 82beb17f7950bdbf5bc8cd7adc263401a9f6762f
4 changes: 2 additions & 2 deletions config.php
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@

// Get the file path
if($url) {
$file = strtolower(CONTENT_DIR . $url);
$file = CONTENT_DIR . strtolower($url);
} else {
$file = CONTENT_DIR .'index';
}
@@ -178,4 +178,4 @@ function createdMenu($nav, $n_ul, $n_li, $n_a, $n_caret, $fullurl, $site_url){
// echo '<ul>';
// echo createdMenu($navigation);
// echo '</ul>';
?>
?>