12345678910111213141516171819202122232425262728293031 |
- <?php
- include_once('config.php');
- include_once('autoloader.php');
- $db = new Database();
- $facturisSync = new FacturisSync($db);
- if(isset($_GET['action']))
- {
- if($_GET['action'] == 'testAuth')
- {
- $facturisSync->testAuth();
- }
- if($_GET['action'] == 'getPdlGestiuni')
- {
- $facturisSync->getPdlGestiuni();
- }
- if($_GET['action'] == 'getPdls')
- {
- $facturisSync->getPdls();
- }
- if($_GET['action'] == 'checkLatestVersion')
- {
- $facturisSync->checkLatestVersion();
- }
- }
|