return compileCode($code, false, true, $full);
}
+// Setter for HTTP status
+function setHttpStatus ($status) {
+ $GLOBALS['http_status'] = (string) $status;
+}
+
+// Getter for HTTP status
+function getHttpStatus () {
+ return $GLOBALS['http_status'];
+}
+
+// Compiles config entries for SQL queries
+function compileSqlConfig ($sqlString) {
+ // Replace all
+ foreach (array('_MYSQL_PREFIX', '_TABLE_TYPE') as $configEntry) {
+ // "Compile" it
+ $sqlString = str_replace('{?' . $configEntry . '?}', getConfig($configEntry), $sqlString);
+ } // END - foreach
+
+ // Return the compiled SQL string
+ return $sqlString;
+}
+
// [EOF]
?>