1234567891011121314151617181920212223242526 |
- <?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'] == 'checkLatestVersion')
- {
- $facturisSync->checkLatestVersion();
- }
- }
|