Suppress warnings on session_start().
Fixed missing include.
Suppress warnings on session_start().
Added a rewrite rule to the apache config to redirect all requests to the SSL version of the site.
Suppress session_start() warnings
Check that $_SESSION['auth'] exists before referencing its sub-variables
Added currentUserId()
Removed a debug log message
Fixed the insert queries used by handleBmo() and handleBmoMc() so they include the owner of the transaction.
Fixed include path for TagStats.php
addTag() will now try to create the label if it doesn't exist. This is used by budget.php to allow a user to create a budget for a tag that doesn't exist yet.
Added getBudgetByLabel().
Added updateBudgetByLabel().
Added getNumBudgetsByTag(). This is used when removing tags to ensure the tag doesn't get removed if there's a budget for it.