Re-order static folder

Static content is global and not per user base.
This commit is contained in:
Danang Probo Sayekti 2014-01-11 09:05:48 +07:00
commit 9f1ca1556a
3 changed files with 3 additions and 3 deletions

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);
}