summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/bug354363-index.php
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-03-23 11:14:27 +0100
committerGravatar Tom Willemsen2011-03-23 11:14:27 +0100
commit0d342f0aee3f2f800e486c0051dabe718a7b2841 (patch)
tree1f55afabb8f4876dbe564f7ed5d8e573ddc78df3 /emacs.d/nxhtml/tests/in/bug354363-index.php
parentd4510153b17625a3dd2f1852cc6392fc26efecf6 (diff)
downloaddotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.tar.gz
dotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.zip
I don't like nxhtml
Diffstat (limited to 'emacs.d/nxhtml/tests/in/bug354363-index.php')
-rw-r--r--emacs.d/nxhtml/tests/in/bug354363-index.php38
1 files changed, 0 insertions, 38 deletions
diff --git a/emacs.d/nxhtml/tests/in/bug354363-index.php b/emacs.d/nxhtml/tests/in/bug354363-index.php
deleted file mode 100644
index 3644f5d..0000000
--- a/emacs.d/nxhtml/tests/in/bug354363-index.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?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();