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.

   RSS

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_projectapplicationconfigurl.php

and put this code

1
2
3
4
5
return array(
    'trusted_hosts' => array(
        'localhost',
    ),
);
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: