More PHP refactorings. Fixes text preview.

This commit is contained in:
Lars Jung 2012-10-06 14:29:24 +02:00
parent 838a346c29
commit 029872a212
8 changed files with 141 additions and 134 deletions

View file

@ -1,7 +1,7 @@
|<?php
| header("Content-type: text/html;{{pkg.name}}={{pkg.version}}");
| require_once(str_replace("\\", "/", dirname(__FILE__)) . "/inc/H5ai.php");
| $h5ai = new H5ai(__FILE__);
| require_once(str_replace("\\", "/", dirname(__FILE__)) . "/inc/init.php");
| $h5ai = $APP;
| $h5aiAbsHref = $h5ai->getH5aiAbsHref();
| $isHeadRequest = stripos($_SERVER["REQUEST_METHOD"], "HEAD");
|?>