Skip to content

Commit fab26ad

Browse files
committed
modificated index line 40 to 44
1 parent 28b9a7d commit fab26ad

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

cweb/elcurrencyweb/controllers/Currency_Converter.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ function __construct()
2424
}
2525

2626
/**
27-
* index that shows the presentation, or login
28-
*
27+
* index that shows the presentation, or login
28+
*
2929
* @name: index
3030
* @param void
3131
* @return void
@@ -37,12 +37,16 @@ public function index()
3737
$data['currentctr'] = $this->currentctr;
3838
$data['currentinx'] = $this->currentinx;
3939
$data['currenturl'] = $this->currenturl;
40+
$this->load->model('Currency_m','dbcm');
41+
$cod_currency_base_array = $this->dbcm->readCurrencyNames();
42+
$exx = array('840'=>'VES','971'=>'USD');
43+
$data['cod_base_currency_array'] = $exx;
44+
$data['cod_base_currency'] = 'VES';
4045
$this->load->view('header',$data);
4146
$this->load->view('menu',$data);
4247
$this->load->view('converter',$data);
4348
$this->load->view('footer',$data);
4449
}
45-
4650
}
4751

4852
/* End of file Home.php */

0 commit comments

Comments
 (0)