report.php 355 Bytes
<?
    // ==============
    // === report === 
    // ==============
    
    include_once($_SERVER['DOCUMENT_ROOT']."/config/config.php");
    include_once($_SERVER['DOCUMENT_ROOT']."/account/class/class.report.php");
    
    $Report=new Report();

    if ($Report->needUpdate()==1) {
        $Report->build_grafic();
        $Report->email();
    }
?>