From b9a43289c3856a41bb51de0075e9b73499b68e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E8=90=BD?= Date: Fri, 27 Mar 2020 00:08:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=92=E4=BB=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/Ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/Ajax.php b/functions/Ajax.php index 6695841..8209427 100644 --- a/functions/Ajax.php +++ b/functions/Ajax.php @@ -45,7 +45,7 @@ add_action('wp_ajax_get_new_version', 'gdk_ajax_get_update'); function gdk_ajax_install_update() { $url = 'http://a.gitcafe.net/gdk.zip?v=' . date("His"); - unzip_url($url, WP_PLUGIN_DIR); + unzip_url($url, GDK_ROOT_PATH); exit(1); }