Merge branch 'master' of github.com:dignajar/bludit
This commit is contained in:
commit
8b61948965
|
@ -357,7 +357,7 @@ $(document).ready(function() {
|
||||||
type: "json",
|
type: "json",
|
||||||
action: HTML_PATH_ADMIN_ROOT+"ajax/uploader",
|
action: HTML_PATH_ADMIN_ROOT+"ajax/uploader",
|
||||||
allow : "*.(jpg|jpeg|gif|png)",
|
allow : "*.(jpg|jpeg|gif|png)",
|
||||||
params: {"type":"profilePicture", "username":"'.$username.'"},
|
params: {"tokenCSRF":tokenCSRF, "type":"profilePicture", "username":"'.$username.'"},
|
||||||
|
|
||||||
loadstart: function() {
|
loadstart: function() {
|
||||||
$("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", "0%").text("0%");
|
$("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", "0%").text("0%");
|
||||||
|
|
|
@ -95,7 +95,9 @@ class pluginRSS extends Plugin {
|
||||||
$doc = new DOMDocument();
|
$doc = new DOMDocument();
|
||||||
|
|
||||||
// Load XML
|
// Load XML
|
||||||
|
libxml_disable_entity_loader(false);
|
||||||
$doc->load(PATH_PLUGINS_DATABASES.$this->directoryName.DS.'rss.xml');
|
$doc->load(PATH_PLUGINS_DATABASES.$this->directoryName.DS.'rss.xml');
|
||||||
|
libxml_disable_entity_loader(true);
|
||||||
|
|
||||||
// Print the XML
|
// Print the XML
|
||||||
echo $doc->saveXML();
|
echo $doc->saveXML();
|
||||||
|
|
|
@ -137,7 +137,9 @@ class pluginSitemap extends Plugin {
|
||||||
$doc = new DOMDocument();
|
$doc = new DOMDocument();
|
||||||
|
|
||||||
// Load XML
|
// Load XML
|
||||||
|
libxml_disable_entity_loader(false);
|
||||||
$doc->load(PATH_PLUGINS_DATABASES.$this->directoryName.DS.'sitemap.xml');
|
$doc->load(PATH_PLUGINS_DATABASES.$this->directoryName.DS.'sitemap.xml');
|
||||||
|
libxml_disable_entity_loader(true);
|
||||||
|
|
||||||
// Print the XML
|
// Print the XML
|
||||||
echo $doc->saveXML();
|
echo $doc->saveXML();
|
||||||
|
|
Loading…
Reference in New Issue