Browse Source

Re-order static folder

Static content is global and not per user base.
pull/9/head
Danang Probo Sayekti 12 years ago
parent
commit
9f1ca1556a
3 changed files with 3 additions and 3 deletions
  1. +0
    -0
      content/static/about.md
  2. +0
    -0
      content/static/contact.md
  3. +3
    -3
      system/includes/functions.php

content/admin/static/about.md → content/static/about.md View File


content/admin/static/contact.md → content/static/contact.md View File


+ 3
- 3
system/includes/functions.php View File

@ -31,9 +31,9 @@ function get_spage_names(){
if(empty($_cache)){
// Get the names of all the
// static page (newest first):
// static page.
$_cache = glob('content/*/static/*.md', GLOB_NOSORT);
$_cache = glob('content/static/*.md', GLOB_NOSORT);
}
return $_cache;
@ -47,7 +47,7 @@ function get_author_names(){
if(empty($_cache)){
// Get the names of all the
// author:
// author.
$_cache = glob('content/*/author.md', GLOB_NOSORT);
}


Loading…
Cancel
Save