2
0
Просмотр исходного кода

Constant `__DIR__` replaced with `dirname(__FILE__)` as `__DIR__` is not supported in PHP versions older than 5.3

Muhammad Adeel Nawaz 11 лет назад
Родитель
Сommit
97ad9799d8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tests/Zend/PdfTest.php

+ 1 - 1
tests/Zend/PdfTest.php

@@ -47,7 +47,7 @@ class Zend_PdfTest extends PHPUnit_Framework_TestCase
 
 
     protected function setUp()
     protected function setUp()
     {
     {
-        $this->_pdf = Zend_Pdf::load(__DIR__ . '/Pdf/_files/PdfWithFields.pdf');
+        $this->_pdf = Zend_Pdf::load(dirname(__FILE__) . '/Pdf/_files/PdfWithFields.pdf');
     }
     }
 
 
     public function testGetTextFieldNames()
     public function testGetTextFieldNames()