Changeset 1647080
- Timestamp:
- 04/28/2017 03:25:35 AM (9 years ago)
- Location:
- purgebox/trunk
- Files:
-
- 4 edited
-
README.md (modified) (2 diffs)
-
classes/class-purgebox-admin.php (modified) (1 diff)
-
classes/class-purgebox-api.php (modified) (1 diff)
-
purgebox.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
purgebox/trunk/README.md
r1587089 r1647080 1 # PURGE BOX 2 3 ## PURGE BOXについて 4 5 PURGE BOXはレッドボックスが提供しているエッジキャッシュCDNでご利用頂ける、Wordpress専用パージプラグインです。CDN化したWordpressのキャッシュ更新を自動化します。 6 7 ## ご利用方法 8 9 - Redbox管理画面からAPIキー・グループ名を取得。 10 - WordpressにPURGE BOXプラグインをインストール 11 - PURGE BOX設定画面にAPIキーとグループ名を入力し保存 1 # purgebox 2 wordpress CDN plugin purgebox 12 3 13 4 PurgeBox Wordpress Plugin 14 5 Copyright (C) 2017 RedBox inc. 15 16 ------17 Include Fastly.com WordPress Plugin18 https://github.com/fastly/WordPress-Plugin/blob/master/lib/purge.php19 Copyright (C) 2011,2012,2013,2014,2015 Fastly.com20 6 21 7 This program is free software: you can redistribute it and/or modify … … 31 17 You should have received a copy of the GNU General Public License 32 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 33 -
purgebox/trunk/classes/class-purgebox-admin.php
r1587083 r1647080 41 41 */ 42 42 public function admin_init() { 43 if( !current_user_can('manage_options') ) {44 wp_die();45 }46 43 $this->_register_setting('version'); 47 44 $this->_register_setting('group'); -
purgebox/trunk/classes/class-purgebox-api.php
r1587083 r1647080 88 88 */ 89 89 public function purge_all() { 90 $url = ' *';90 $url = '/*'; 91 91 $home = parse_url( home_url() ); 92 if( $home['path']) {93 $url = $home['path']. '/'. $url;92 if( !empty( $home['path'] ) ) { 93 $url = rtrim($home['path'], '/'). $url; 94 94 } 95 95 $headers = $this->_get_base_header( $url ); -
purgebox/trunk/purgebox.php
r1587097 r1647080 5 5 Description: REDBOX CDN Purge Plugin. 6 6 Author: REDBOX 7 Version: 1. 17 Version: 1.2 8 8 Author URI: https://www.redbox.ne.jp 9 9 License: GPL3
Note: See TracChangeset
for help on using the changeset viewer.