|
#1
|
||||
|
||||
|
HTML 代碼:
Security
Change the value of 'Security.salt' in app/Config/core.php
Change the value of 'Security.cipherSeed' in app/Config/core.php
Check everything is OK by visiting /pages/home
Add first User
Uncomment lines 14&15 of the app/Controllers/UsersController.php file
Swop ENTER_YOUR_PASSWORD_HERE for your password
Visit /login to see hashed password
Insert that into the database manually or use the below SQL to create
an Admin User
Recomment lines 14&15 to stop them showing
Visit /login to login with your email & password
在Add first User這段Uncomment lines 14&15 of the app/Controllers/UsersController.php file完全看不懂他的意思,改完後接者Visit /login to see hashed password,to see hashed password是甚麼意思?接者又出現Recomment lines 14&15 to stop them showing? 到底Uncomment lines 14&15及Recomment lines 14&15是甚麼意思? 有哪位大哥可以指導的謝謝~~ 小弟感激不盡~~ |
|
#2
|
||||
|
||||
|
1. 安全編碼隨便編就可以,只要與原範例不同即可,你可以改成 wwwdomainclubtw 也沒問題...
2. Uncomment lines 14&15 取消14/15行的註解,原來註解可能用// 開頭或是 /**/ 包住,所以把// 或 /**/去掉 ex. //slob (或是/*slob*/) 改成 slob 2.1 然後把 ENTER_YOUR_PASSWORD_HERE 這個字串換成你的密碼 3. Visit /login to see hashed password 訪問網站或登入去看被編碼過的密碼是什麼... 3.1 然後把這串密碼手動寫入到資料庫相關的密碼欄位裡頭或是用它提供的SQL語法去產生一個管理員 4. Recomment lines 14&15 重新把14/15行回復為註解狀態 應該是這樣..... 此篇文章於 2012-12-26 02:35 AM 被 slob 編輯。 |
|
#3
|
||||
|
||||
|
引用:
為了表示感謝,小弟已先將貴公司網站放在旅行者觀光資訊網幫忙宣傳!!
|
|
#4
|
||||
|
||||
|
|
|
#5
|
||||
|
||||
|
是自助建站系統沒錯喔...
嗯...應該說是成品網站系統~ 原程式是對岸的,台灣也有幾家經銷商, 不過我自己修改了部分核心程式, 與功能的加強... 準備自己另外推,呵呵 |