浏览代码

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';