summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/bug354363-index.php
blob: 3644f5df896c71c334225dd0e2bbb130003801aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
	define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application/'));
set_include_path(
		 APPLICATION_PATH . '/../library'
		 . PATH_SEPARATOR . get_include_path()
		 );

if(true){
	 echo 'test';
	 }
else
  {
   
   }

require_once "Zend/Loader.php";
Zend_Loader::registerAutoload();

try 
{
 require '../application/bootstrap.php';
 }
catch(Exception $exception)
{
 echo '<html><body><center>'
 .    'An exception occured while bootstrapping the application.';
 if(defined('APPLICATION_ENVIRONMENT')
    && APPLICATION_ENVIRONMENT != 'production'
    ) {
       echo '<br /><br />' . $exception->getMessage() . '<br />'
       .    '<div align="left">Stack Trace:'
       .    '<pre>' . $exception->getTraceAsString() . '</pre></div>';
       }
 echo '</center><body></html>';
 exit(1);
 }

Zend_Controller_Front::getInstance()->dispatch();