Creato admin model Aggiunte alcune classi di utility gui iniziato login manager creato session handler
23 lines
636 B
PHP
23 lines
636 B
PHP
#!/usr/bin/php
|
|
<?php
|
|
/*
|
|
Author: Riccardo Di Dato
|
|
Creation Date: 12/gen/2016
|
|
*/
|
|
|
|
require_once(dirname(__FILE__). "/../load.php");
|
|
|
|
try {
|
|
if (TestTask::isActive()){
|
|
TestTask::execute();
|
|
}
|
|
}catch (CoreException $ex){
|
|
$msg = "Error while executing task '".TestTask::getLabel()."' with message '".$ex->getMessage()."'";
|
|
LoggingFacilityManager::getLogger("task")->log(LoggingFacility::$LEVEL_ERROR,$msg);
|
|
}
|
|
catch (Exception $ex){
|
|
$msg = "Unexpected error while executing task '".TestTask::getLabel()."' with message '".$ex->getMessage()."'";
|
|
LoggingFacilityManager::getLogger("task")->log(LoggingFacility::$LEVEL_ERROR,$msg);
|
|
}
|
|
|
|
?>
|