mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 20:29:57 +09:00
bug fix
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4906 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ab71c6d468
commit
beabe56505
6 changed files with 13 additions and 4 deletions
|
|
@ -29,6 +29,7 @@
|
|||
$config->is_default = $dummy->is_default;
|
||||
$config->module_srl = $dummy->module_srl;
|
||||
$config->browser_title = $dummy->browser_title;
|
||||
if($config->logo_image) $config->logo_image = context::getFixUrl($config->logo_image);
|
||||
}
|
||||
return $config;
|
||||
}
|
||||
|
|
@ -505,7 +506,8 @@
|
|||
if(!is_dir($path)) return sprintf("%s%s%s", Context::getRequestUri(), $this->module_path, 'tpl/images/blank_photo.gif');
|
||||
$filename = sprintf('%s/%d.jpg', $path, $module_srl);
|
||||
if(!file_exists($filename)) return sprintf("%s%s%s", Context::getRequestUri(), $this->module_path, 'tpl/images/blank_photo.gif');
|
||||
return Context::getRequestUri().$filename."?rnd=".filemtime($filename);
|
||||
$src = Context::getRequestUri().$filename."?rnd=".filemtime($filename);
|
||||
return $src;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue