Archive for 二月 2007
所有在使用 MySQL 4.0 甚至是 MySQL 3.23 的朋友們請注意唷!~…
MySQL 4.1 以前的官方維護已經終止了!~
強烈建議大家要升級到使用 MySQL 5 喔!~
官方說明
End of Product Lifecycle. Active development and support for MySQL database server versions 3.23, 4.0, and 4.1 have ended. For MySQL 4.0 and 4.1, there is still extended support available, though. For details, see http://www.mysql.com/company/legal/lifecycle/#calendar.According to the MySQL Lifecycle Policy (see http://www.mysql.com/company/legal/lifecycle/#policy), only Security Level 1 issues will still be fixed for those versions. Please consider upgrading to a recent version (MySQL 5.0 or 5.1).
No tags
目前大部分的電子商務網站,大部分後台都是直接就在線上的某個路徑下,或是某個 subdomain 下 ….
而客戶對於安全的需求,有時後會要求全部後台使用 SSL 進行連線。
所以就誕生了下面我用的這段 Code ..
In bootstrap.php
| 代碼: |
| if(substr($_GET["url"],0,6) == CAKE_ADMIN.'/' and empty($_SERVER['HTTPS']) ){ header('Location: https://'.$_SERVER["HTTP_HOST"].'/'.CAKE_ADMIN.'/'); } |
No tags
