mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #6186 from ntd/pr5
BUG Use simplexml_load_string instead of simplexml_load_file
This commit is contained in:
commit
d5402d9dce
3
main.php
3
main.php
@ -62,6 +62,9 @@ if(!empty($_SERVER['HTTP_X_ORIGINAL_URL'])) {
|
|||||||
$_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL'];
|
$_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Enable the entity loader to be able to load XML in Zend_Locale_Data
|
||||||
|
libxml_disable_entity_loader(false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Figure out the request URL
|
* Figure out the request URL
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user