mourne_rcpp_fw/Mourne-CI/application/controllers/cron.php

23 lines
359 B
PHP
Executable File

<?php
class Cron extends CI_Controller
{
//no session stuff needed for this class, so it extends from CI_Controller.
function __construct()
{
parent::__construct();
}
function aiattack()
{
//check for useragent and stuff like that
$this->load->model('ai_model');
$a = $this->ai_model->attack();
echo $a;
}
}
//nowhitesp