source: pmb4.2/trunk/fuentes/pmb/admin/ajax_main.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 879 bytes
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: ajax_main.inc.php,v 1.6 2014-01-07 10:16:16 arenou Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9//En fonction de $categ, il inclut les fichiers correspondants
10
11switch($categ):
12        case 'acces':
13                include('./admin/acces/ajax/acces.inc.php');
14                break;
15        case 'req':
16                include('./admin/proc/ajax/req.inc.php');
17                break;
18        case 'sync':
19                include('./admin/connecteurs/in/dosync.php');
20                break;
21        case 'opac':
22                include('./admin/opac/ajax_main.inc.php');
23        break; 
24        case 'harvest':
25                include('./admin/harvest/ajax_main.inc.php');
26        break;
27        case 'dashboard' :
28                include("./dashboard/ajax_main.inc.php");
29                break;
30        default:
31                break;         
32endswitch;     
Note: See TracBrowser for help on using the repository browser.