mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Added warning about Director::set_dev_servers()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@108049 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3d901bb0cc
commit
5a8f4b4605
@ -766,6 +766,11 @@ class Director {
|
||||
/**
|
||||
* Specify HTTP_HOST values that are development environments.
|
||||
* For information about environment types, see {@link Director::set_environment_type()}.
|
||||
*
|
||||
* CAUTION: Domain information can easily be spoofed in HTTP requests,
|
||||
* we recommend to set this mode via {@link Director::set_environment_type()}
|
||||
* or an _ss_environment.php instead.
|
||||
*
|
||||
* @param $servers array An array of HTTP_HOST values that should be treated as development environments.
|
||||
*/
|
||||
static function set_dev_servers($servers) {
|
||||
@ -775,6 +780,11 @@ class Director {
|
||||
/**
|
||||
* Specify HTTP_HOST values that are test environments.
|
||||
* For information about environment types, see {@link Director::set_environment_type()}.
|
||||
*
|
||||
* CAUTION: Domain information can easily be spoofed in HTTP requests,
|
||||
* we recommend to set this mode via {@link Director::set_environment_type()}
|
||||
* or an _ss_environment.php instead.
|
||||
*
|
||||
* @param $servers array An array of HTTP_HOST values that should be treated as test environments.
|
||||
*/
|
||||
static function set_test_servers($servers) {
|
||||
|
Loading…
Reference in New Issue
Block a user