1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-17 18:59:21 +01:00
openstamanager/modules/aggiornamenti/actions.php
2019-07-24 11:13:48 +02:00

23 lines
376 B
PHP

<?php
include_once __DIR__.'/../../core.php';
use Modules\Aggiornamenti\UpdateHook;
$id = post('id');
switch (filter('op')) {
case 'check':
$result = UpdateHook::isAvailable();
UpdateHook::update($result);
echo $result;
break;
case 'upload':
include DOCROOT.'/modules/aggiornamenti/upload_modules.php';
break;
}