2014-11-15 39 views
0

上不起作用,在wampserver2.5控制檯中激活了rewrite_module後,在Apache-> Apache模塊 - > rewrite_module下,「正常」路由工作得很好。 但是,如果我用命名路由它不Laravel命名的路由在wampserver

<?php 
Route::get('/', '[email protected]'); 
Route::get('post/listing', array('uses'=>'[email protected]','as'=>post.listing)); 
Route::get('post/single', array('uses'=>'[email protected]','as'=>post.single));  
?> 

- ErrorException(E_UNKNOWN) 使用未定義的常量後的 - 假設 '後'

<?php 
Route::get('/', '[email protected]'); 
Route::get('post/listing','[email protected]'); 
Route::get('post/single', '[email protected]'); 
?> 

上面的代碼工作。有任何想法嗎?謝謝

回答