Browse Source

Fixes issue #107: UrlManager::showScriptName default to false.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
af72a948f6
  1. 2
      framework/web/UrlManager.php

2
framework/web/UrlManager.php

@ -51,7 +51,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 = true;
public $showScriptName = false;
/**
* @var string the GET variable name for route. This property is used only if [[enablePrettyUrl]] is false.
*/

Loading…
Cancel
Save