소스 검색

Update edit_package.html

After save the package, back button link is referer to https://dimain/list/package/?package={package_name}
i think we dont need this. Back button will alway go to /list/package/ .... 
 CMIIW ....
Disketsa - Azuya 10 년 전
부모
커밋
449fd97644
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      web/templates/admin/edit_package.html

+ 1 - 6
web/templates/admin/edit_package.html

@@ -22,12 +22,7 @@
 
     <div class="l-center">
       <?php
-        $back = getenv("HTTP_REFERER");
-        if (empty($back)) {
-          $back = "location.href='/list/package/'";
-        } else {
-          $back = "location.href='".$back."'";
-        }
+        $back = "location.href='/list/package/'";
       ?>
         <form id="vstobjects" name="v_edit_package" method="post"  class="<?=$v_status?>">
             <input type="hidden" name="token" value="<?=$_SESSION['token']?>" />