summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-06-22 21:36:43 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-06-25 11:29:56 +0200
commitb60a30af7144d92dd6ee0fbcb16929d95d09d676 (patch)
tree7e14485ab2448bfd2449b83bc29a315c5cef88d6 /web
parent9c65ad3aa240bd1ca53823a4a6ce22b3aa079735 (diff)
downloadaur-b60a30af7144d92dd6ee0fbcb16929d95d09d676.tar.gz
aur-b60a30af7144d92dd6ee0fbcb16929d95d09d676.tar.xz
fix incompatibility with php short open tags
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web')
-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"