add templat dir
This commit is contained in:
parent
3ff2e31ccf
commit
e7e32475cc
8
.gitignore
vendored
8
.gitignore
vendored
@ -6,10 +6,14 @@ ui/cache/*.php
|
|||||||
test.php
|
test.php
|
||||||
pages/
|
pages/
|
||||||
system/cache/**
|
system/cache/**
|
||||||
system/plugin/**
|
system/plugin/*
|
||||||
!system/cache/index.html
|
!system/cache/index.html
|
||||||
!system/plugin/index.html
|
!system/plugin/index.html
|
||||||
system/paymentgateway/ui/**
|
system/paymentgateway/ui/**
|
||||||
system/paymentgateway/**
|
system/paymentgateway/**
|
||||||
|
!system/paymentgateway/ui/
|
||||||
!system/paymentgateway/ui/index.html
|
!system/paymentgateway/ui/index.html
|
||||||
!system/paymentgateway/index.html
|
!system/paymentgateway/index.html
|
||||||
|
!system/plugin/ui/
|
||||||
|
system/plugin/ui/*
|
||||||
|
!system/plugin/ui/index.html
|
@ -16,9 +16,9 @@
|
|||||||
|
|
||||||
## Payment Gateway
|
## Payment Gateway
|
||||||
|
|
||||||
- Tripay.com | Indonesia
|
- [Tripay.com](https://github.com/hotspotbilling/phpmixbill-tripay) | Indonesia
|
||||||
- Xendit.com | Indonesia and Philippine ( Philippine not tested )
|
- [Xendit.com](https://github.com/hotspotbilling/phpmixbill-xendit) | Indonesia and Philippine ( Philippine not tested )
|
||||||
- Duitku.com | Indonesia
|
- [Duitku.com](https://github.com/hotspotbilling/phpmixbill-duitku) | Indonesia
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
- Rename **pages_template** to **pages**
|
- Rename **pages_template** to **pages**
|
||||||
|
@ -121,6 +121,8 @@ $lan_file = 'system/lan/' . $config['language'] . '/common.lan.php';
|
|||||||
require($lan_file);
|
require($lan_file);
|
||||||
$ui = new Smarty();
|
$ui = new Smarty();
|
||||||
$ui->setTemplateDir('ui/ui/');
|
$ui->setTemplateDir('ui/ui/');
|
||||||
|
$ui->addTemplateDir('system/paymentgateway/ui/', 'pg');
|
||||||
|
$ui->addTemplateDir('system/plugin/ui/', 'plugin');
|
||||||
$ui->setCompileDir('ui/compiled/');
|
$ui->setCompileDir('ui/compiled/');
|
||||||
$ui->setConfigDir('ui/conf/');
|
$ui->setConfigDir('ui/conf/');
|
||||||
$ui->setCacheDir('ui/cache/');
|
$ui->setCacheDir('ui/cache/');
|
||||||
|
0
system/paymentgateway/ui/index.html
Normal file
0
system/paymentgateway/ui/index.html
Normal file
0
system/plugin/ui/index.html
Normal file
0
system/plugin/ui/index.html
Normal file
Loading…
x
Reference in New Issue
Block a user