if (($path = realpath(dirname(__FILE__) . '/pear')) === false) { wp_die(__('wp_attache_mobile: PEAR not found.', 'wp_attache_mobile'), 'error'); } } return $path; } /** * コンストラクタ */ function wp_attache_mobile_controller() { ini_set('include_path', '.:' . $this->pear_path()); add_action('init', array(&$this, 'boot_modules'), -1); } } wp_attache_mobile_controller::init(); /** * 基底クラス * * @package wp_attache * @author HAYASHI Ryo<*****@*****.**> * @version 0.0.1 */ class wp_attache_mobile { var $_defaultOptions = array('modules' => array()); var $_notices = array(); /** * オプションの取得 * * @see get_option