From b902d058f2e5da5931f85d3aafba2ea3cf494bfc Mon Sep 17 00:00:00 2001 From: Rene Vergara A Date: Fri, 30 Dec 2022 14:20:18 -0500 Subject: [PATCH] First step to integrate payment list into payment gateway --- assets/{ => img}/zgo-icon-full_6pct.png | Bin zgopmtgwy.php | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{ => img}/zgo-icon-full_6pct.png (100%) diff --git a/assets/zgo-icon-full_6pct.png b/assets/img/zgo-icon-full_6pct.png similarity index 100% rename from assets/zgo-icon-full_6pct.png rename to assets/img/zgo-icon-full_6pct.png diff --git a/zgopmtgwy.php b/zgopmtgwy.php index 964a9fd..344f17a 100644 --- a/zgopmtgwy.php +++ b/zgopmtgwy.php @@ -68,7 +68,7 @@ function zgopmt_init() { $this->console_log('zgopayments Table created in MySQL ...'); $iconurl = plugin_dir_url( __FILE__ ) . - 'assets/zgo-icon-full_6pct.png'; + 'assets/img/zgo-icon-full_6pct.png'; $this->siteURL = get_site_url(); $this->console_log("Site URL: " . $this->siteURL); @@ -389,7 +389,7 @@ function zgopmt_init() { public function console_log($data) { - $file = plugin_dir_path( __DIR__ ) . '/zgopmtgwy/assets/console.log'; + $file = plugin_dir_path( __DIR__ ) . '/zgopmtgwy/assets/log/console.log'; file_put_contents($file, $data . chr(0x0D) . chr(0x0A), FILE_TEXT | FILE_APPEND | LOCK_EX ); }