DiscuzX/upload/source/class/class_optimizer.php

39 lines
746 B
PHP
Raw Normal View History

2016-12-15 08:20:54 -05:00
<?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();
}
}
?>