class_optimizer.php
746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: class_optimizer.php 30871 2012-06-27 09:32:37Z zhangjie $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
class optimizer {
private $optimizer = array();
public function __construct($type) {
$this->optimizer = new $type();
}
public function check() {
return $this->optimizer->check();
}
public function optimizer() {
return $this->optimizer->optimizer();
}
public function option_optimizer($options) {
return $this->optimizer->option_optimizer($options);
}
public function get_option() {
return $this->optimizer->get_option();
}
}
?>