aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/sys/db.php')
-rw-r--r--ratatoeskr/sys/db.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/ratatoeskr/sys/db.php b/ratatoeskr/sys/db.php
index fcde7f3..55801c0 100644
--- a/ratatoeskr/sys/db.php
+++ b/ratatoeskr/sys/db.php
@@ -1,9 +1,10 @@
<?php
/*
- * File: db.php
+ * File: ratatoeskr/sys/db.php
*
* Helper functions for dealing with MySQL.
- *
+ *
+ * License:
* This file is part of Ratatöskr.
* Ratatöskr is licensed unter the MIT / X11 License.
* See "ratatoeskr/licenses/ratatoeskr" for more information.
@@ -39,12 +40,6 @@ function sqlesc($str)
}
/*
- * Class: MySQLException
- * Will be thrown by qdb*, if the query induced an MySQL error.
- */
-class MySQLException extends Exception { }
-
-/*
* Function: qdb_vfmt
* Like <qdb_fmt>, but needs arguments as single array.
*
@@ -101,4 +96,10 @@ function qdb()
return $rv;
}
+/*
+ * Class: MySQLException
+ * Will be thrown by qdb*, if the query induced an MySQL error.
+ */
+class MySQLException extends Exception { }
+
?>