[aur-dev] [PATCH 4/5] fix incompatibility with php short open tags
Florian Pritz
bluewind at xinu.at
Wed Jun 22 15:36:43 EDT 2011
Signed-off-by: Florian Pritz <bluewind at xinu.at>
---
web/README | 4 ----
web/template/header.php | 2 +-
2 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/web/README b/web/README
index 0c081f2..37a224e 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 3ea2798..8313bb3 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"
--
1.7.5.4
More information about the aur-dev
mailing list