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

23 lines
407 B
PHP
Raw Normal View History

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