forked from amilna/yes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Module.php
22 lines (18 loc) · 823 Bytes
/
Module.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
namespace amilna\yes;
class Module extends \yii\base\Module
{
public $controllerNamespace = 'amilna\yes\controllers';
public $userClass = 'common\models\User';//'dektrium\user\models\User';
public $uploadDir = '@webroot/upload';
public $uploadURL = '@web/upload';
public $currency = ["symbol"=>"Rp","decimal_separator"=>",","thousand_separator"=>"."];
public $defaults = ["weight"=>0.1,"vat"=>0.1]; // default weight (in Kg), vat (ratio or set false to disabling vat) for non configurated data of product
public $company = ["name"=>"Your Company Name","address"=>"Your company address","phone"=>"+62-21-123456","email"=>"[email protected]"];
public $enableUpload = true;
public function init()
{
parent::init();
// custom initialization code goes here
}
}