<?php
/************************************************************************
- * MXChange v0.2.1 Start: 10/22/2009 *
- * =============== Last change: 10/22/2009 *
+ * Mailer v0.2.1-FINAL Start: 10/22/2009 *
+ * =================== Last change: 10/22/2009 *
* *
* -------------------------------------------------------------------- *
* File : cachesystem.class.php *
} elseif ($this->name == 'refdepths') {
// Referal levels
$GLOBALS['cache_array']['refdepths'][$k][$data['id']] = $v;
+ } elseif ($this->name == 'refsystem') {
+ // Referal system
+ $GLOBALS['cache_array']['refsystem'][$k][$data['id']] = $v;
} elseif ($this->name == 'revision') {
// Revision data
$GLOBALS['cache_array']['revision'][$k] = $v;
// Debug message if allowed
if (isDebugModeEnabled()) {
// Debug message
- debug_report_bug('Not removing cache ' . $this->name . ' in output_mode=' . getOutputMode());
+ logDebugMessage(__METHOD__, __LINE__, 'Not removing cache ' . $this->name . ' in output_mode=' . getOutputMode());
} // END - if
// Abort here
// String or non-string? ;-)
if (is_string($value)) {
// String...
- $line = '$this->' . $prefix . "['".$this->name."']['" . $key . "']" . $extender . " = '" . smartAddSlashes($value) . "';\n";
+ $line = '$this->' . $prefix . "['".$this->name."']['" . $key . "']" . $extender . " = '" . escapeQuotes($value) . "';\n";
} elseif (is_null($value)) {
// Null
$line = '$this->' . $prefix . "['".$this->name."']['" . $key . "']" . $extender . " = null;\n";