Diff of /mambo/branches/4.6/includes/database.php
Parent Directory
|
Revision Log
|
Patch
| revision 1305, Thu Sep 27 01:39:28 2007 UTC | revision 1323, Tue Oct 2 13:30:40 2007 UTC | |
|---|---|---|
| # | Line 774 | Line 774 |
| 774 | $callcheck = array('InputFilter', 'process'); | $callcheck = array('InputFilter', 'process'); |
| 775 | if (!is_callable($callcheck)) require_once(mamboCore::get('mosConfig_absolute_path').'/includes/phpInputFilter/class.inputfilter.php'); | if (!is_callable($callcheck)) require_once(mamboCore::get('mosConfig_absolute_path').'/includes/phpInputFilter/class.inputfilter.php'); |
| 776 | // specific filters | // specific filters |
| 777 | $iFilter =& new InputFilter(); | // $iFilter =& new InputFilter(); - previous call to original Php Input Filter |
| 778 | $iFilter =& mosInputFilter::getInstance(); // use extended Php Input Filter class from mambo.php | |
| 779 | if (is_array($ignoreList)) foreach ($this->getPublicProperties() as $k) { | if (is_array($ignoreList)) foreach ($this->getPublicProperties() as $k) { |
| 780 | if (!in_array($k, $ignoreList)) $this->$k = $iFilter->process($this->$k); | if (!in_array($k, $ignoreList)) $this->$k = $iFilter->process($this->$k); |
| 781 | } | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

