First step to integrate payment list into payment gateway

This commit is contained in:
Rene V. Vergara A. 2022-12-30 14:20:18 -05:00
parent 6cd5f976ec
commit b902d058f2
2 changed files with 2 additions and 2 deletions

View file

Before

Width:  |  Height:  |  Size: 1,021 B

After

Width:  |  Height:  |  Size: 1,021 B

View file

@ -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 );
}