diff --git a/.gitignore b/.gitignore index e2ff2f6..bfd3e7e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,10 +6,14 @@ ui/cache/*.php test.php pages/ system/cache/** -system/plugin/** +system/plugin/* !system/cache/index.html !system/plugin/index.html system/paymentgateway/ui/** system/paymentgateway/** +!system/paymentgateway/ui/ !system/paymentgateway/ui/index.html -!system/paymentgateway/index.html \ No newline at end of file +!system/paymentgateway/index.html +!system/plugin/ui/ +system/plugin/ui/* +!system/plugin/ui/index.html \ No newline at end of file diff --git a/README.md b/README.md index 2f870c2..57bff98 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ ## Payment Gateway -- Tripay.com | Indonesia -- Xendit.com | Indonesia and Philippine ( Philippine not tested ) -- Duitku.com | Indonesia +- [Tripay.com](https://github.com/hotspotbilling/phpmixbill-tripay) | Indonesia +- [Xendit.com](https://github.com/hotspotbilling/phpmixbill-xendit) | Indonesia and Philippine ( Philippine not tested ) +- [Duitku.com](https://github.com/hotspotbilling/phpmixbill-duitku) | Indonesia ## Installation - Rename **pages_template** to **pages** diff --git a/system/boot.php b/system/boot.php index c17c0e9..cfe5a84 100644 --- a/system/boot.php +++ b/system/boot.php @@ -121,6 +121,8 @@ $lan_file = 'system/lan/' . $config['language'] . '/common.lan.php'; require($lan_file); $ui = new Smarty(); $ui->setTemplateDir('ui/ui/'); +$ui->addTemplateDir('system/paymentgateway/ui/', 'pg'); +$ui->addTemplateDir('system/plugin/ui/', 'plugin'); $ui->setCompileDir('ui/compiled/'); $ui->setConfigDir('ui/conf/'); $ui->setCacheDir('ui/cache/'); diff --git a/system/paymentgateway/ui/index.html b/system/paymentgateway/ui/index.html new file mode 100644 index 0000000..e69de29 diff --git a/system/plugin/ui/index.html b/system/plugin/ui/index.html new file mode 100644 index 0000000..e69de29