pownraj-anubavam / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

__DIR__ is only for PHP 5.3 and above #163

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
__DIR__ Const is only for PHP 5.3 or higher.
Used in apiClient.php

What is the expected output? What do you see instead?
Error massages on PHP Version lower 5.3

What version of the product are you using? On what operating system?
trunk r468  PHP 5.2.4

Please provide any additional information below.

please use dirname(__FILE__) instead

Original issue reported on code.google.com by danielhu...@gmail.com on 28 Jul 2012 at 6:06

GoogleCodeExporter commented 9 years ago
Great catch. Thank you.

Original comment by chirags@google.com on 1 Aug 2012 at 4:32

GoogleCodeExporter commented 9 years ago
Fixed in r473.

Original comment by chirags@google.com on 1 Aug 2012 at 4:32