com web/php: Fixed BC issue with PHP 5.2 and __DIR__. : Gateway/NewsFileSystemGateway.php

From: Date: Wed, 11 Jul 2012 17:57:55 +0000
Subject: com web/php: Fixed BC issue with PHP 5.2 and __DIR__. : Gateway/NewsFileSystemGateway.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13910@lists.php.net to get a copy of this message
Commit: dfbc65131f9641c0fb1b667bcf6ba7cd028cdb75 Author: Levi Morrison <levim@php.net> Wed, 11 Jul 2012 11:57:55 -0600 Parents: 5489c2b053de1fbfb156b0532da90071c9d4ef1f Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=dfbc65131f9641c0fb1b667bcf6ba7cd028cdb75 Log: Fixed BC issue with PHP 5.2 and __DIR__. Changed paths: M Gateway/NewsFileSystemGateway.php Diff: diff --git a/Gateway/NewsFileSystemGateway.php b/Gateway/NewsFileSystemGateway.php index 35db542..c381d15 100644 --- a/Gateway/NewsFileSystemGateway.php +++ b/Gateway/NewsFileSystemGateway.php @@ -1,7 +1,7 @@ <?php -require_once '/../Entity/NewsItem.php'; -require_once '/NewsGateway.php'; +require_once 'Entity/NewsItem.php'; +require_once 'NewsGateway.php'; class NewsFileSystemGateway implements NewsGateway {

« previous php.webmaster (#13910) next »