| @@ -1,22 +1,22 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit; |
| 3 | 3 | |
| 4 | -if (!class_exists('WPRProtectLogger_V669')) : | |
| 4 | +if (!class_exists('WPRProtectLogger_V672')) : | |
| 5 | 5 | require_once dirname( __FILE__ ) . '/logger/fs.php'; |
| 6 | 6 | require_once dirname( __FILE__ ) . '/logger/db.php'; |
| 7 | 7 | |
| 8 | -class WPRProtectLogger_V669 { | |
| 8 | +class WPRProtectLogger_V672 { | |
| 9 | 9 | private $log_destination; |
| 10 | 10 | |
| 11 | 11 | const TYPE_FS = 0; |
| 12 | 12 | const TYPE_DB = 1; |
| 13 | 13 | |
| 14 | - function __construct($name, $type = WPRProtectLogger_V669::TYPE_DB) { | |
| 15 | - if ($type == WPRProtectLogger_V669::TYPE_FS) { | |
| 16 | - $this->log_destination = new WPRProtectLoggerFS_V669($name); | |
| 14 | + function __construct($name, $type = WPRProtectLogger_V672::TYPE_DB) { | |
| 15 | + if ($type == WPRProtectLogger_V672::TYPE_FS) { | |
| 16 | + $this->log_destination = new WPRProtectLoggerFS_V672($name); | |
| 17 | 17 | } else { |
| 18 | - $this->log_destination = new WPRProtectLoggerDB_V669($name); | |
| 18 | + $this->log_destination = new WPRProtectLoggerDB_V672($name); | |
| 19 | 19 | } |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | public function log($data) { |