• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP C_Base_Module类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中C_Base_Module的典型用法代码示例。如果您正苦于以下问题:PHP C_Base_Module类的具体用法?PHP C_Base_Module怎么用?PHP C_Base_Module使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了C_Base_Module类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: initialize

 function initialize()
 {
     parent::initialize();
     if (is_admin()) {
         add_action('admin_init', array(&$this, 'add_all_lightbox_forms'));
     }
 }
开发者ID:JeffreyBue,项目名称:jb,代码行数:7,代码来源:module.lightbox.php


示例2: define

 function define($context = FALSE)
 {
     parent::define('photocrati-frame_communication', 'Frame/iFrame Inter-Communication', 'Provides a means for HTML frames to share server-side events with each other', '0.4', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     include_once 'class.frame_communication_option_handler.php';
     C_NextGen_Settings::get_instance()->add_option_handler('C_Frame_Communication_Option_Handler', array('frame_event_cookie_name'));
     C_NextGen_Global_Settings::get_instance()->add_option_handler('C_Frame_Communication_Option_Handler', array('frame_event_cookie_name'));
 }
开发者ID:ayoayco,项目名称:upbeat,代码行数:7,代码来源:module.frame_communication.php


示例3: define

 function define()
 {
     parent::define('photocrati-third_party_compat', 'Third Party Compatibility', "Adds Third party compatibility hacks, adjustments, and modifications", '0.4', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     // the following constants were renamed for 2.0.41; keep them declared for compatibility sake until
     // other parties can update themselves.
     $changed_constants = array('NEXTGEN_ADD_GALLERY_SLUG' => 'NGG_ADD_GALLERY_SLUG', 'NEXTGEN_BASIC_SINGLEPIC_MODULE_NAME' => 'NGG_BASIC_SINGLEPIC', 'NEXTGEN_BASIC_TAG_CLOUD_MODULE_NAME' => 'NGG_BASIC_TAGCLOUD', 'NEXTGEN_DISPLAY_PRIORITY_BASE' => 'NGG_DISPLAY_PRIORITY_BASE', 'NEXTGEN_DISPLAY_PRIORITY_STEP' => 'NGG_DISPLAY_PRIORITY_STEP', 'NEXTGEN_DISPLAY_SETTINGS_SLUG' => 'NGG_DISPLAY_SETTINGS_SLUG', 'NEXTGEN_FS_ACCESS_SLUG' => 'NGG_FS_ACCESS_SLUG', 'NEXTGEN_GALLERY_ATTACH_TO_POST_SLUG' => 'NGG_ATTACH_TO_POST_SLUG', 'NEXTGEN_GALLERY_BASIC_SLIDESHOW' => 'NGG_BASIC_SLIDESHOW', 'NEXTGEN_GALLERY_BASIC_THUMBNAILS' => 'NGG_BASIC_THUMBNAILS', 'NEXTGEN_GALLERY_CHANGE_OPTIONS_CAP' => 'NGG_CHANGE_OPTIONS_CAP', 'NEXTGEN_GALLERY_I18N_DOMAIN' => 'NGG_I18N_DOMAIN', 'NEXTGEN_GALLERY_IMPORT_ROOT' => 'NGG_IMPORT_ROOT', 'NEXTGEN_GALLERY_MODULE_DIR' => 'NGG_MODULE_DIR', 'NEXTGEN_GALLERY_MODULE_URL' => 'NGG_MODULE_URL', 'NEXTGEN_GALLERY_NEXTGEN_BASIC_COMPACT_ALBUM' => 'NGG_BASIC_COMPACT_ALBUM', 'NEXTGEN_GALLERY_NEXTGEN_BASIC_EXTENDED_ALBUM' => 'NGG_BASIC_EXTENDED_ALBUM', 'NEXTGEN_GALLERY_NEXTGEN_BASIC_IMAGEBROWSER' => 'NGG_BASIC_IMAGEBROWSER', 'NEXTGEN_GALLERY_NGGLEGACY_MOD_DIR' => 'NGG_LEGACY_MOD_DIR', 'NEXTGEN_GALLERY_NGGLEGACY_MOD_URL' => 'NGG_LEGACY_MOD_URL', 'NEXTGEN_GALLERY_PLUGIN' => 'NGG_PLUGIN', 'NEXTGEN_GALLERY_PLUGIN_BASENAME' => 'NGG_PLUGIN_BASENAME', 'NEXTGEN_GALLERY_PLUGIN_DIR' => 'NGG_PLUGIN_DIR', 'NEXTGEN_GALLERY_PLUGIN_STARTED_AT' => 'NGG_PLUGIN_STARTED_AT', 'NEXTGEN_GALLERY_PLUGIN_URL' => 'NGG_PLUGIN_URL', 'NEXTGEN_GALLERY_PLUGIN_VERSION' => 'NGG_PLUGIN_VERSION', 'NEXTGEN_GALLERY_PRODUCT_DIR' => 'NGG_PRODUCT_DIR', 'NEXTGEN_GALLERY_PRODUCT_URL' => 'NGG_PRODUCT_URL', 'NEXTGEN_GALLERY_PROTECT_IMAGE_MOD_STATIC_URL' => 'NGG_PROTUCT_IMAGE_MOD_STATIC_URL', 'NEXTGEN_GALLERY_PROTECT_IMAGE_MOD_URL' => 'NGG_PROTECT_IMAGE_MOD_URL', 'NEXTGEN_GALLERY_TESTS_DIR' => 'NGG_TESTS_DIR', 'NEXTGEN_LIGHTBOX_ADVANCED_OPTIONS_SLUG' => 'NGG_LIGHTBOX_ADVANCED_OPTIONS_SLUG', 'NEXTGEN_LIGHTBOX_OPTIONS_SLUG' => 'NGG_LIGHTBOX_OPTIONS_SLUG', 'NEXTGEN_OTHER_OPTIONS_SLUG' => 'NGG_OTHER_OPTIONS_SLUG');
     foreach ($changed_constants as $old => $new) {
         if (defined($new) && !defined($old)) {
             define($old, constant($new));
         }
     }
     // Resolve problems with zlib compression: https://core.trac.wordpress.org/ticket/18525
     if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 4) {
         @ini_set('zlib.output_compression', 'Off');
     }
     // Detect 'Adminer' and whether the user is viewing its loader.php
     if (class_exists('AdminerForWP') && function_exists('adminer_object')) {
         if (!defined('NGG_DISABLE_RESOURCE_MANAGER')) {
             define('NGG_DISABLE_RESOURCE_MANAGER', TRUE);
         }
     }
     // Genesis Tabs creates a new query / do_shortcode loop which requires these be set
     if (class_exists('Genesis_Tabs')) {
         if (!defined('NGG_DISABLE_FILTER_THE_CONTENT')) {
             define('NGG_DISABLE_FILTER_THE_CONTENT', TRUE);
         }
         if (!defined('NGG_DISABLE_RESOURCE_MANAGER')) {
             define('NGG_DISABLE_RESOURCE_MANAGER', TRUE);
         }
     }
 }
开发者ID:simeont9,项目名称:stoneopen,代码行数:31,代码来源:module.third_party_compat.php


示例4: define

 function define()
 {
     parent::define('photocrati-security', 'Security', 'Provides utilities to check for credentials and security', '0.2', 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/', 'Photocrati Media', 'https://www.imagely.com');
     if (isset($GLOBALS['_COOKIE_NG_COPY'])) {
         $_COOKIE = $GLOBALS['_COOKIE_NG_COPY'];
     }
 }
开发者ID:kixortillan,项目名称:dfosashworks,代码行数:7,代码来源:module.security.php


示例5: initialize

 function initialize()
 {
     parent::initialize();
     if (is_admin()) {
         $forms = C_Form_Manager::get_instance();
         $forms->add_form(NGG_DISPLAY_SETTINGS_SLUG, NGG_BASIC_SINGLEPIC);
     }
 }
开发者ID:albinmartinsson91,项目名称:ux_blog,代码行数:8,代码来源:module.nextgen_basic_singlepic.php


示例6: define

 function define()
 {
     parent::define('photocrati-ajax', 'AJAX', 'Provides AJAX functionality', '0.4', 'http://www.photocrati.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.ajax_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Ajax_Option_Handler', array('ajax_slug', 'ajax_url', 'ajax_js_url'));
     include_once 'class.ajax_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Ajax_Installer');
 }
开发者ID:hiaedenis,项目名称:nextgen-gallery,代码行数:8,代码来源:module.ajax.php


示例7: define

 function define()
 {
     parent::define('photocrati-ajax', 'AJAX', 'Provides AJAX functionality', '0.8', 'http://www.photocrati.com', 'Photocrati Media', 'http://www.photocrati.com');
     C_NextGen_Settings::get_instance()->add_option_handler('C_Ajax_Option_Handler', array('ajax_slug', 'ajax_url', 'ajax_js_url'));
     if (is_multisite()) {
         C_NextGen_Global_Settings::get_instance()->add_option_handler('C_Ajax_Option_Handler', array('ajax_slug', 'ajax_url', 'ajax_js_url'));
     }
 }
开发者ID:albinmartinsson91,项目名称:ux_blog,代码行数:8,代码来源:module.ajax.php


示例8: define

 /**
  * Defines the module
  */
 function define()
 {
     parent::define('photocrati-nextgen_admin', 'NextGEN Administration', 'Provides a framework for adding Administration pages', '0.5', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     include_once 'class.nextgen_admin_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Admin_Installer');
     include_once 'class.nextgen_admin_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_NextGen_Admin_Option_Handler', array('jquery_ui_theme', 'jquery_ui_theme_version', 'jquery_ui_theme_url'));
 }
开发者ID:jeanpage,项目名称:ca_learn,代码行数:11,代码来源:module.nextgen_admin.php


示例9: define

 function define()
 {
     parent::define("photocrati-mvc", "MVC Framework", "Provides an MVC architecture for the plugin to use", "0.4", "http://www.photocrati.com", "Photocrati Media", "http://www.photocrati.com");
     include_once 'class.mvc_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Mvc_Installer');
     include_once 'class.mvc_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Mvc_Option_Handler', array('mvc_template_dir'));
 }
开发者ID:hiaedenis,项目名称:nextgen-gallery,代码行数:8,代码来源:module.mvc.php


示例10: define

 /**
  * Defines the module
  * @param string|bool $context
  */
 function define($context = FALSE)
 {
     parent::define('photocrati-attach_to_post', 'Attach To Post', 'Provides the "Attach to Post" interface for displaying galleries and albums', '0.6', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     include_once 'class.attach_to_post_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     include_once 'class.attach_to_post_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Attach_To_Post_Installer');
 }
开发者ID:fidler2326,项目名称:betfid,代码行数:12,代码来源:module.attach_to_post.php


示例11: define

 function define()
 {
     parent::define("photocrati-mvc", "MVC Framework", "Provides an MVC architecture for the plugin to use", "0.8", "https://www.imagely.com", "Photocrati Media", "https://www.imagely.com");
     C_NextGen_Settings::get_instance()->add_option_handler('C_Mvc_Option_Handler', array('mvc_template_dir', 'mvc_template_dirname', 'mvc_static_dir', 'mvc_static_dirname'));
     if (is_multisite()) {
         C_NextGen_Global_Settings::get_instance()->add_option_handler('C_Mvc_Option_Handler', array('mvc_template_dir', 'mvc_template_dirname', 'mvc_static_dir', 'mvc_static_dirname'));
     }
 }
开发者ID:uwmadisoncals,项目名称:Cluster-Plugins,代码行数:8,代码来源:module.mvc.php


示例12: define

 /**
  * Defines the module
  */
 function define()
 {
     parent::define('photocrati-nextgen_admin', 'NextGEN Administration', 'Provides a framework for adding Administration pages', '0.9', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     C_Photocrati_Installer::add_handler($this->module_id, 'C_NextGen_Admin_Installer');
     C_NextGen_Settings::get_instance()->add_option_handler('C_NextGen_Admin_Option_Handler', array('jquery_ui_theme', 'jquery_ui_theme_version', 'jquery_ui_theme_url'));
     if (is_multisite()) {
         C_NextGen_Global_Settings::get_instance()->add_option_handler('C_NextGen_Admin_Option_Handler', array('jquery_ui_theme', 'jquery_ui_theme_version', 'jquery_ui_theme_url'));
     }
 }
开发者ID:interfisch,项目名称:lm,代码行数:12,代码来源:module.nextgen_admin.php


示例13: define

 /**
  * Defines the module
  * @param string|bool $context
  */
 function define($context = FALSE)
 {
     parent::define('photocrati-attach_to_post', 'Attach To Post', 'Provides the "Attach to Post" interface for displaying galleries and albums', '0.11', 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/', 'Photocrati Media', 'https://www.imagely.com', $context);
     C_NextGen_Settings::get_instance()->add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     if (is_multisite()) {
         C_NextGen_Global_Settings::get_instance()->add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     }
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Attach_To_Post_Installer');
 }
开发者ID:sallf,项目名称:coopernature,代码行数:13,代码来源:module.attach_to_post.php


示例14: initialize

 function initialize()
 {
     parent::initialize();
     if (is_admin()) {
         $forms = C_Form_Manager::get_instance();
         $forms->add_form(NGG_DISPLAY_SETTINGS_SLUG, NGG_BASIC_COMPACT_ALBUM);
         $forms->add_form(NGG_DISPLAY_SETTINGS_SLUG, NGG_BASIC_EXTENDED_ALBUM);
     }
 }
开发者ID:albinmartinsson91,项目名称:ux_blog,代码行数:9,代码来源:module.nextgen_basic_album.php


示例15: initialize

 function initialize()
 {
     parent::initialize();
     if (!is_admin()) {
         $triggers = C_Displayed_Gallery_Trigger_Manager::get_instance();
         $triggers->add(NGG_PRO_LIGHTBOX_TRIGGER, 'C_NextGen_Pro_Lightbox_Trigger');
         $triggers->add(NGG_PRO_LIGHTBOX_COMMENT_TRIGGER, 'C_NextGen_Pro_Lightbox_Trigger');
     }
 }
开发者ID:CodeNoEvil,项目名称:mbp_web_infrastructure,代码行数:9,代码来源:module.nextgen_pro_lightbox.php


示例16: initialize

 function initialize()
 {
     parent::initialize();
     if (is_admin()) {
         $forms = C_Form_Manager::get_instance();
         $forms->add_form(NGG_DISPLAY_SETTINGS_SLUG, NGG_BASIC_THUMBNAILS);
         $forms->add_form(NGG_DISPLAY_SETTINGS_SLUG, NGG_BASIC_SLIDESHOW);
     }
     $notices = C_Admin_Notification_Manager::get_instance();
     $notices->add('image_rotator_notice', 'C_Image_Rotator_Notice');
 }
开发者ID:simeont9,项目名称:stoneopen,代码行数:11,代码来源:module.nextgen_basic_gallery.php


示例17: define

 /**
  * Defines the module
  * @param string|bool $context
  */
 function define($context = FALSE)
 {
     parent::define('photocrati-attach_to_post', 'Attach To Post', 'Provides the "Attach to Post" interface for displaying galleries and albums', '0.7', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     include_once 'class.attach_to_post_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     include_once 'class.attach_to_post_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Attach_To_Post_Installer');
     $uri = strtolower($_SERVER['REQUEST_URI']);
     if (strpos($uri, '/nextgen-attach_to_post') !== false) {
         define('WP_ADMIN', true);
     }
 }
开发者ID:namwoody,项目名称:curry,代码行数:16,代码来源:module.attach_to_post.php


示例18: define

 /**
  * Defines the module
  * @param string|bool $context
  */
 function define($context = FALSE)
 {
     parent::define('photocrati-attach_to_post', 'Attach To Post', 'Provides the "Attach to Post" interface for displaying galleries and albums', '0.10', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com', $context);
     include_once 'class.attach_to_post_option_handler.php';
     C_NextGen_Settings::add_option_handler('C_Attach_To_Post_Option_Handler', array('attach_to_post_url', 'gallery_preview_url', 'attach_to_post_display_tab_js_url'));
     include_once 'class.attach_to_post_installer.php';
     C_Photocrati_Installer::add_handler($this->module_id, 'C_Attach_To_Post_Installer');
     // Set WP_ADMIN=true for better compatibility with certain themes & plugins.
     // Unfortunately as of 3.9 in a multisite environment this causes problems.
     if (self::is_atp_url() && (!defined('MULTISITE') || defined('MULTISITE') && !MULTISITE)) {
         define('WP_ADMIN', true);
     }
 }
开发者ID:JeffreyBue,项目名称:jb,代码行数:17,代码来源:module.attach_to_post.php


示例19: initialize

 function initialize()
 {
     parent::initialize();
     if (!is_admin()) {
         // adds lightbox JS overrides
         if (version_compare(NGG_PLUGIN_VERSION, '2.0.67') >= 0) {
             M_NextGen_Pro_Lightbox::add_component('photocrati-nextgen_pro_proofing', 'C_NextGen_Pro_Proofing_Lightbox');
         } else {
             M_NextGen_Pro_Lightbox_Legacy::add_component('photocrati-nextgen_pro_proofing', 'C_NextGen_Pro_Proofing_Lightbox');
         }
         $triggers = C_Displayed_Gallery_Trigger_Manager::get_instance();
         $triggers->add(NGG_PRO_PROOFING_TRIGGER, 'C_NextGen_Pro_Proofing_Trigger');
         C_NextGen_Shortcode_Manager::add('ngg_pro_proofing', array(&$this, 'render_proofed_images'));
     }
 }
开发者ID:CodeNoEvil,项目名称:mbp_web_infrastructure,代码行数:15,代码来源:module.nextgen_pro_proofing.php


示例20: define

 function define()
 {
     parent::define('photocrati-third_party_compat', 'Third Party Compatibility', "Adds Third party compatibility hacks, adjustments, and modifications", '0.3', 'http://www.nextgen-gallery.com', 'Photocrati Media', 'http://www.photocrati.com');
     // the following constants were renamed for 2.0.41; keep them declared for compatibility sake until
     // other parties can update themselves.
     $changed_constants = array('NEXTGEN_ADD_GALLERY_SLUG' => 'NGG_ADD_GALLERY_SLUG', 'NEXTGEN_BASIC_SINGLEPIC_MODULE_NAME' => 'NGG_BASIC_SINGLEPIC', 'NEXTGEN_BASIC_TAG_CLOUD_MODULE_NAME' => 'NGG_BASIC_TAGCLOUD', 'NEXTGEN_DISPLAY_PRIORITY_BASE' => 'NGG_DISPLAY_PRIORITY_BASE', 'NEXTGEN_DISPLAY_PRIORITY_STEP' => 'NGG_DISPLAY_PRIORITY_STEP', 'NEXTGEN_DISPLAY_SETTINGS_SLUG' => 'NGG_DISPLAY_SETTINGS_SLUG', 'NEXTGEN_FS_ACCESS_SLUG' => 'NGG_FS_ACCESS_SLUG', 'NEXTGEN_GALLERY_ATTACH_TO_POST_SLUG' => 'NGG_ATTACH_TO_POST_SLUG', 'NEXTGEN_GALLERY_BASIC_SLIDESHOW' => 'NGG_BASIC_SLIDESHOW', 'NEXTGEN_GALLERY_BASIC_THUMBNAILS' => 'NGG_BASIC_THUMBNAILS', 'NEXTGEN_GALLERY_CHANGE_OPTIONS_CAP' => 'NGG_CHANGE_OPTIONS_CAP', 'NEXTGEN_GALLERY_I18N_DOMAIN' => 'NGG_I18N_DOMAIN', 'NEXTGEN_GALLERY_IMPORT_ROOT' => 'NGG_IMPORT_ROOT', 'NEXTGEN_GALLERY_MODULE_DIR' => 'NGG_MODULE_DIR', 'NEXTGEN_GALLERY_MODULE_URL' => 'NGG_MODULE_URL', 'NEXTGEN_GALLERY_NEXTGEN_BASIC_COMPACT_ALBUM' => 'NGG_BASIC_COMPACT_ALBUM', 'NEXTGEN_GALLERY_NEXTGEN_BASIC_EXTENDED_ALBUM' => 'NGG_BASIC_EXTENDED_ALBUM', 'NEXTGEN_GALLERY_NEXTGEN_BASIC_IMAGEBROWSER' => 'NGG_BASIC_IMAGEBROWSER', 'NEXTGEN_GALLERY_NGGLEGACY_MOD_DIR' => 'NGG_LEGACY_MOD_DIR', 'NEXTGEN_GALLERY_NGGLEGACY_MOD_URL' => 'NGG_LEGACY_MOD_URL', 'NEXTGEN_GALLERY_PLUGIN' => 'NGG_PLUGIN', 'NEXTGEN_GALLERY_PLUGIN_BASENAME' => 'NGG_PLUGIN_BASENAME', 'NEXTGEN_GALLERY_PLUGIN_DIR' => 'NGG_PLUGIN_DIR', 'NEXTGEN_GALLERY_PLUGIN_STARTED_AT' => 'NGG_PLUGIN_STARTED_AT', 'NEXTGEN_GALLERY_PLUGIN_URL' => 'NGG_PLUGIN_URL', 'NEXTGEN_GALLERY_PLUGIN_VERSION' => 'NGG_PLUGIN_VERSION', 'NEXTGEN_GALLERY_PRODUCT_DIR' => 'NGG_PRODUCT_DIR', 'NEXTGEN_GALLERY_PRODUCT_URL' => 'NGG_PRODUCT_URL', 'NEXTGEN_GALLERY_PROTECT_IMAGE_MOD_STATIC_URL' => 'NGG_PROTUCT_IMAGE_MOD_STATIC_URL', 'NEXTGEN_GALLERY_PROTECT_IMAGE_MOD_URL' => 'NGG_PROTECT_IMAGE_MOD_URL', 'NEXTGEN_GALLERY_TESTS_DIR' => 'NGG_TESTS_DIR', 'NEXTGEN_LIGHTBOX_ADVANCED_OPTIONS_SLUG' => 'NGG_LIGHTBOX_ADVANCED_OPTIONS_SLUG', 'NEXTGEN_LIGHTBOX_OPTIONS_SLUG' => 'NGG_LIGHTBOX_OPTIONS_SLUG', 'NEXTGEN_OTHER_OPTIONS_SLUG' => 'NGG_OTHER_OPTIONS_SLUG');
     foreach ($changed_constants as $old => $new) {
         if (defined($new) && !defined($old)) {
             define($old, constant($new));
         }
     }
     // Resolve problems with zlib compression: https://core.trac.wordpress.org/ticket/18525
     if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 4) {
         @ini_set('zlib.output_compression', 'Off');
     }
 }
开发者ID:jacko5,项目名称:bjj,代码行数:16,代码来源:module.third_party_compat.php



注:本文中的C_Base_Module类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP C_Component类代码示例发布时间:2022-05-20
下一篇:
PHP CWizardUtil类代码示例发布时间:2022-05-20
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap