<?/*|--------------------------------------------------------------------------| Application Key|--------------------------------------------------------------------------|| This key is used by the encryption and cookie classes to generate secure| encrypted strings and hashes. It is extremely important that this key| remain secret and should not be shared with anyone. Make it about 32| characters of random gibberish.|*/'key'=>'',
在 key 裡面填入32個字元以上的字串,看起來會像這樣:
application/config/application.php
12345678910111213
<?/*|--------------------------------------------------------------------------| Application Key|--------------------------------------------------------------------------|| This key is used by the encryption and cookie classes to generate secure| encrypted strings and hashes. It is extremely important that this key| remain secret and should not be shared with anyone. Make it about 32| characters of random gibberish.|*/'key'=>'gkdckrdonbkscgedpekcvocxkdspfdokspdkfscmxvwertwerq',
<?/*|--------------------------------------------------------------------------| Application Index|--------------------------------------------------------------------------|| If you are including the "index.php" in your URLs, you can ignore this.| However, if you are using mod_rewrite to get cleaner URLs, just set| this option to an empty string and we'll take care of the rest.|*/'index'=>'index.php',
將 index 的值留空,看起來會像這樣:
application/config/application.php
123456789101112
<?/*|--------------------------------------------------------------------------| Application Index|--------------------------------------------------------------------------|| If you are including the "index.php" in your URLs, you can ignore this.| However, if you are using mod_rewrite to get cleaner URLs, just set| this option to an empty string and we'll take care of the rest.|*/'index'=>'',