R
R
Roman Kozhevnikov2015-12-27 15:15:24
Yii
Roman Kozhevnikov, 2015-12-27 15:15:24

What to do if Yii throws an Unknown Property error?

added

'urlManager' => [
        'class' => 'yii\web\UrlManager',
        'enablePrettyUrl' => true,
        'ShowScriptName' => false,
    ],

in common/config/main.php to make human readable URLs I get the error: "Setting unknown property: yii\web\UrlManager::ShowScriptName". What does it mean? How to make it work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bay, 2015-12-27
@Most998

'showScriptName' => false,
CASE!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question