First step to integrate payment list into payment gateway
This commit is contained in:
parent
6cd5f976ec
commit
b902d058f2
2 changed files with 2 additions and 2 deletions
Before Width: | Height: | Size: 1,021 B After Width: | Height: | Size: 1,021 B |
|
@ -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 );
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue