Changeset 85 for hadoop-register/etc


Ignore:
Timestamp:
Jun 23, 2009, 11:56:24 AM (15 years ago)
Author:
wade
Message:
  • 2009-06-23 修正認證信連結會重複給予帳號密碼。
  • 2009-06-23 主機位址格式為 htt://位址,後面不必再加 /
Location:
hadoop-register/etc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hadoop-register/etc/funs.php

    r84 r85  
    1717    {
    1818      header ("refresh:5 ;url=$w_url");
    19       echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">"';
     19      echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">';
    2020      echo "<BR> 此網頁將於 5 秒後重新導向 <BR>";
    2121      echo "<BR> ======== System Message ========";
     
    3535        <br>
    3636        ';
    37       $str .= "<br><A href=http://" . "$w_localhost" . "check_activate_code.php?user=" .
     37      $str .= "<br><A href=" . "$w_localhost" . "/check_activate_code.php?user=" .
    3838      $this->user . "&" . "act=" . $this->activate_code . ">啟動 Hadoop 帳號</A>";
    3939      return $str;
     
    5656        <br>帳號:$this->user
    5757        <br>密碼:$this->new_password
    58         <br>登入 http://$w_localhost。
     58        <br>登入:$w_localhost
    5959        ";
    6060      return $str;
     
    100100      echo "<br>========";
    101101      echo "<br>this is in W_user->test() <br>";
    102       $str = "<br><A href=http://" . "$w_localhost" . "check_activate_code.php?user=" .
     102      $str = "<br><A href=" . "$w_localhost" . "/check_activate_code.php?user=" .
    103103      $this->user . "&" . "act=" . $this->activate_code . ">啟動 Hadoop 帳號</A>";
    104104      //echo $this->user;
  • hadoop-register/etc/init.php

    r84 r85  
    66     */
    77 
    8   // [本機設定]
    9   // 設定主機網址
    10   $w_localhost = "hadoop.nchc.org.tw/";
     8    // [本機設定]
     9    // 設定主機網址
     10    $w_localhost = "http://hadoop.nchc.org.tw";
    1111 
    1212
    13   // [mysql 設定]
     13    // [mysql 設定]
    1414    // mysql 主機位址
    1515  $mysql_host = 'localhost';
     
    2525 
    2626    // mysql 資料表
    27     $mysql_table = 'hadoop_reg';        // 基本使用者資料表
    28   $mysql_table_owner = 'hadoop_owner';  // hadoop 帳號分配擁有者
     27    $mysql_table = 'hadoop_reg';    // 基本使用者資料表
     28    $mysql_table_owner = 'hadoop_owner';  // hadoop 帳號分配擁有者
    2929   
    3030    // [mail 設定]
    31   // mail server host
    32   $mail_server_host = 'smtp.gmail.com';
     31    // mail server host
     32    $mail_server_host = 'smtp.gmail.com';
    3333
    34   // mail account
    35   $mail_account = 'nchcdrbl@gmail.com';
     34    // mail account
     35    $mail_account = 'nchcdrbl@gmail.com';
    3636    $mail_account_name = 'Hadoop admin';
    3737
Note: See TracChangeset for help on using the changeset viewer.