Forum

Kohana : Untrusted ...
 
Notifications
Clear all

Kohana : Untrusted host localhost. If you trust localhost, add it to the trusted hosts in the `url` config file.

1 Posty
2 Users
0 Likes
8,412 Widok
0
Topic starter

Kohana : Untrusted host localhost. If you trust localhost, add it to the trusted hosts in the `url` config file.

1 Answer
0
Topic starter

Create new file: my_project/application/config/url.php

and put this code

<?php

return array(
    'trusted_hosts' => array(
        'localhost',
        'another.host.com'
    ),
);

You can always change line ("localhost") to Your domain

Odpowiedź

Author Name

Author Email

Your question *

Preview 0 Revisions Saved
Share: