소스 검색

Merge branch 'master' of http://10.1.1.202:3030/oransheep/Front-Page

oransheep 3 년 전
부모
커밋
45c30df5bc
3개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 0
      .gitignore
  2. 1 4
      script/php/authenticate.php
  3. 5 0
      script/php/sql_detail.php

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+script/php/sql_detail.php

+ 1 - 4
script/php/authenticate.php

@@ -7,10 +7,7 @@ if ((empty($_SESSION['check_word'])) || (empty($_POST['captcha']))) {
         die("驗證碼錯誤,請重新輸入");
     }
 }
-$hostname = 'GMGIS\SQLEXPRESS';
-$username = 'BIMuser';
-$password = 'Component3444';
-$db_name = 'permissions';
+include("sql_detail.php");
 
 
 try {

+ 5 - 0
script/php/sql_detail.php

@@ -0,0 +1,5 @@
+<?php
+$hostname = 'GMGIS\SQLEXPRESS';
+$username = 'BIMuser';
+$password = 'Component3444';
+$db_name = 'permissions';