root/tags/stable/phptagengine.inc.php
| Revision 20 (checked in by svn, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | // Copyright (c) 2006-2007 Alex King. All rights reserved. |
| 4 | // http://alexking.org/projects/php-tag-engine |
| 5 | // |
| 6 | // Released under the LGPL license |
| 7 | // http://www.opensource.org/licenses/lgpl-license.php |
| 8 | // |
| 9 | // ********************************************************************** |
| 10 | // This program is distributed in the hope that it will be useful, but |
| 11 | // WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 | // ********************************************************************** |
| 14 | |
| 15 | /** |
| 16 | * The main include for PHP Tag Engine - this includes the other files |
| 17 | * |
| 18 | * It should be include()ed in the file specified as the |
| 19 | * @link phptagengine::$ajax_handler |
| 20 | * |
| 21 | * @package phptagengine |
| 22 | */ |
| 23 | |
| 24 | if (__FILE__ == basename($_SERVER['SCRIPT_NAME'])) { die(); } |
| 25 | |
| 26 | require_once('phptagengine.class.inc.php'); |
| 27 | require_once('phptagengine.config.inc.php'); |
| 28 | |
| 29 | // handle AJAX Requests |
| 30 | $pte->ajax_engine(); |
| 31 | |
| 32 | ?> |
Note: See TracBrowser for help on using the browser.
