public static function log($data) { if (class_exists('gPluginClassCore')) { gPluginClassCore::__log($data); } else { if (is_array($data)) { error_log(print_r($data, TRUE)); } else { error_log($data); } } }
public function setup_globals($constants = array(), $args = array()) { $this->current_blog = get_current_blog_id(); parent::setup_globals($constants, $args); }