- Replaced "index.ci.php" with $this->config->item('index_page')

- Replaced base_url that contains "index.ci.php" with site_url
- Replaced APP_ROOT with base_url or site_url where needed
- InfoCenter controller added comments and improved the code
This commit is contained in:
Paolo
2018-06-19 16:34:23 +02:00
parent 53098c011c
commit 9a33e44491
13 changed files with 112 additions and 99 deletions
+2 -2
View File
@@ -84,7 +84,7 @@ $widthColumn = $msgExists === true ? 8 : 12;
$.ajax(
{
dataType: "json",
url: "<?php echo base_url("/index.ci.php/system/Messages/getMessageFromIds/") ?>" + msgid + "/" + recid,
url: "<?php echo site_url("system/Messages/getMessageFromIds/") ?>" + msgid + "/" + recid,
success: function (data, textStatus, jqXHR)
{
$("#msgsubject").text(data[0].subject);
@@ -97,4 +97,4 @@ $widthColumn = $msgExists === true ? 8 : 12;
}
)
}
</script>
</script>