mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +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->params = $params;
|
||||
$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()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user