|
Revision 120, 1.2 kB
(checked in by schst, 4 years ago)
|
fix include (PEAR::Config could accidentally get included on Win32)
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
error_reporting( E_ALL ); |
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
include_once dirname(__FILE__).'/config.php'; |
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
include_once 'sections.php'; |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
include_once 'patExampleGen.php'; |
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
include_once 'customFunctions.php'; |
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
$exampleGen =& new patExampleGen; |
|---|
| 38 |
$exampleGen->setAppName( $appName ); |
|---|
| 39 |
$exampleGen->setAppDescription( $appDesc ); |
|---|
| 40 |
$exampleGen->setAppForumId( $appForumId ); |
|---|
| 41 |
$exampleGen->setSections( $sections ); |
|---|
| 42 |
$exampleGen->setTabs( $tabs ); |
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
if( !isset( $errorHandling ) || $errorHandling != 'off' ) |
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
require_once $neededFiles['patErrorManager']; |
|---|
| 51 |
|
|---|
| 52 |
patErrorManager::setErrorHandling( E_ALL, 'callback', array( $exampleGen, 'displayError' ) ); |
|---|
| 53 |
|
|---|
| 54 |
?> |
|---|