summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-06-22 18:29:47 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-06-22 18:31:25 +0200
commitadbb59308024bfb6386eaa4a9d1a2eb6591b8456 (patch)
treef027d232a699d64bfab5f5c78b9115db68c50af9
parentfca971e483d270bb6ae84be76513b0e2b5301008 (diff)
downloadaur-adbb59308024bfb6386eaa4a9d1a2eb6591b8456.tar.gz
aur-adbb59308024bfb6386eaa4a9d1a2eb6591b8456.tar.xz
fix incompatibility with php short open tags
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--web/README4
-rw-r--r--web/template/header.php2
2 files changed, 1 insertions, 5 deletions
diff --git a/web/README b/web/README
index 0c081f28..37a224ec 100644
--- a/web/README
+++ b/web/README
@@ -62,10 +62,6 @@ Setup on Arch Linux:
PEAR's path may vary depending on your set up.
- - AUR does not work properly with PHP's short open tag enabled.
- Be sure you have this in php.ini:
- short_open_tag = Off
-
6) Configure MySQL
- Start the MySQL service. Example:
# /etc/rc.d/mysqld start
diff --git a/web/template/header.php b/web/template/header.php
index 3ea2798e..8313bb36 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"