mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
use _httpRoot for imagepath
This commit is contained in:
parent
00bbfff34d
commit
6fccfd1d18
|
@ -39,7 +39,10 @@ class SeedDMS_View_Common {
|
||||||
$this->theme = $theme;
|
$this->theme = $theme;
|
||||||
$this->params = $params;
|
$this->params = $params;
|
||||||
$this->baseurl = '';
|
$this->baseurl = '';
|
||||||
$this->imgpath = '../views/'.$theme.'/images/';
|
if(isset($params['settings']))
|
||||||
|
$this->imgpath = $params['settings']->_httpRoot.'views/'.$theme.'/images/';
|
||||||
|
else
|
||||||
|
$this->imgpath = '../views/'.$theme.'/images/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __invoke($get=array()) {
|
public function __invoke($get=array()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user