com phd: Fix pear doesn't escape \n, \x, ... issue: render.php

From: Date: Tue, 15 Jul 2014 02:13:13 +0000
Subject: com phd: Fix pear doesn't escape \n, \x, ... issue: render.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12603@lists.php.net to get a copy of this message
Commit: b8faf2a715a7a42578318af631f0182ea825c2f2 Author: Wing <steely.wing@gmail.com> Tue, 15 Jul 2014 10:13:13 +0800 Parents: 94cad4f46c530478046845e61a90a47a10bc04e1 Branches: master Link: http://git.php.net/?p=phd.git;a=commitdiff;h=b8faf2a715a7a42578318af631f0182ea825c2f2 Log: Fix pear doesn't escape \n, \x, ... issue Changed paths: M render.php Diff: diff --git a/render.php b/render.php index 232f3c2..f9c5e30 100644 --- a/render.php +++ b/render.php @@ -5,7 +5,7 @@ namespace phpdotnet\phd; // @php_dir@ gets replaced by pear with the install dir. use __DIR__ when // running from SVN -define("__INSTALLDIR__", "@php_dir@" == "@"."php_dir@" ? __DIR__ : "@php_dir@"); +define("__INSTALLDIR__", '@php_dir@' == '@'.'php_dir@' ? __DIR__ : '@php_dir@'); require __INSTALLDIR__ . '/phpdotnet/phd/Autoloader.php'; require __INSTALLDIR__ . '/phpdotnet/phd/functions.php';

« previous php.doc.cvs (#12603) next »