Skip to content

Commit

Permalink
Make user configs a separate config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
sofar committed Oct 5, 2012
1 parent 2acc85c commit 0e4f05c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
11 changes: 11 additions & 0 deletions config.php.example
@@ -0,0 +1,11 @@
<?

# edit this file to include the usernames of users that are allowed to
# have their albums appear in the index.

$users = array (
"adam",
"bonnie"
);

?>
7 changes: 3 additions & 4 deletions db.php
@@ -1,9 +1,8 @@
<?

$users = array (
"sofar",
"sserafin"
);
# config.php stores the list of users that are permitted to
# be included in the album. Edit it first.
include 'config.php';

# add list of users and their real names.
echo "var users = {\n";
Expand Down

0 comments on commit 0e4f05c

Please sign in to comment.