]> git.treefish.org Git - banana.git/blob - include/prefs.inc
improved blackboard submits.
[banana.git] / include / prefs.inc
1 <?php
2   include 'db.inc';
3
4   if (! isset($PREFS)) {
5     $result = $db->query("SELECT key, value FROM prefs");
6     while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
7       $PREFS[$row['key']] = $row['value'];
8     }
9   }  
10 ?>