sugangqiang 2 jaren geleden
bovenliggende
commit
fe206bb8dd
2 gewijzigde bestanden met toevoegingen van 4 en 2 verwijderingen
  1. 3 1
      app/common.php
  2. 1 1
      app/enterprise/view/layout/right.html

+ 3 - 1
app/common.php

@@ -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();"

+ 1 - 1
app/enterprise/view/layout/right.html

@@ -106,7 +106,7 @@
         // setTimeLockScreen();
         initTime(time);
         if(!isEnterpriseFull){
-            Feng.confirm("系统升级,您的资料需要同步更新,请移步企业中心申请【机构信息变更】。",function(){
+            Feng.confirm("系统升级,您的资料需要同步更新,请移步机构用户进行修改【机构信息变更】。",function(){
                 $(".J_menuItem[href='/enterprise/index/centerPage']").click();
                 clkTab();
             })