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