@ -82,7 +82,7 @@ class UrlManager extends Component
* @var boolean whether to show entry script name in the constructed URL. Defaults to true.
* This property is used only if [[enablePrettyUrl]] is true.
*/
public $showScriptName = false;
public $showScriptName = true;
/**
* @var string the GET variable name for route. This property is used only if [[enablePrettyUrl]] is false.
@ -262,6 +262,7 @@ class UrlManagerTest extends TestCase
// pretty URL rules
$manager = new UrlManager(array(
'enablePrettyUrl' => true,
'showScriptName' => false,
'cache' => null,
'rules' => array(
'PUT,POST post/<id>/<title>' => 'post/create',