| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/nick/codeigniter/application/views/main/ |
Upload File : |
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="<?=assets_url('main/js/jquery.min.js')?>"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="<?=assets_url('main/js/bootstrap.min.js')?>"></script>
<script>
//csrf
<?php if(config_item('csrf_protection')){ ?>
$.ajaxPrefilter(function (options, originalOptions, jqXHR) {
if (options.type.toLowerCase() === "post") {
// initialize `data` to empty string if it does not exist
options.data = options.data || "";
// add leading ampersand if `data` is non-empty
options.data += options.data ? "&" : "";
// add _token entry
options.data += "<?=$this->security->get_csrf_token_name()?>=" + encodeURIComponent('<?=$this->security->get_csrf_hash()?>');
}
});
<?php } ?>
</script>