| 1 | <?php |
| 2 | |
| 3 | /* Common code for the other PHP files in this directory. |
| 4 | This loads cge-www utilities for generating HTML parts for PasDoc. |
| 5 | The way this works is closely synchronized with current version |
| 6 | of https://github.com/castle-engine/cge-www . |
| 7 | */ |
| 8 | |
| 9 | /* Load resources from local files, |
| 10 | but make links to remote https://castle-engine.io/ */ |
| 11 | define('CASTLE_ENVIRONMENT', 'offline'); |
| 12 | |
| 13 | global $castle_php_path; |
| 14 | $castle_php_path = __DIR__ . '/../../../../cge-www/htdocs/'; |
| 15 | |
| 16 | require_once $castle_php_path . 'castle_engine_functions.php'; |
| 17 | |
| 18 | ?> |