|
@@ -295,6 +295,8 @@ function getFileView($path) {
|
|
|
function isImage($filename) {
|
|
|
$types = '.gif|.jpeg|.png|.bmp'; //定义检查的图片类型
|
|
|
try {
|
|
|
+ if (!$filename)
|
|
|
+ return false;
|
|
|
$info = getimagesize($filename);
|
|
|
if ($info && stripos($types, image_type_to_extension($info['2'])) !== false) {
|
|
|
return true;
|
|
@@ -321,7 +323,7 @@ function chkEnterpriseFull($ep) {
|
|
|
}
|
|
|
if ($ep->special == 0 && $errorCounts > 0) {
|
|
|
echo sprintf("<script>"
|
|
|
- . "parent.layer.confirm('系统升级,您的资料需要同步更新,请移步企业中心申请【机构信息变更】。',"
|
|
|
+ . "parent.layer.confirm('系统升级,您的资料需要同步更新,请移步机构用户进行修改【机构信息变更】。',"
|
|
|
. "function(){"
|
|
|
. "var url='/enterprise/index/centerPage';"
|
|
|
. "top.$('a.J_menuItem[href=\"'+url+'\"]').click();clkTab();"
|