Skip to content

Commit

Permalink
Switched out dirname(__FILE__) to __DIR__ ( dirname(__FILE__) was use…
Browse files Browse the repository at this point in the history
…d in backported version and not required here )
  • Loading branch information
Kat Reeve authored and Kat Reeve committed Jan 27, 2012
1 parent 11fb9bf commit 75ba595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/classmap_generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* file
*/

$libPath = getenv('LIB_PATH') ? getenv('LIB_PATH') : dirname(__FILE__) . '/../library';
$libPath = getenv('LIB_PATH') ? getenv('LIB_PATH') : __DIR__ . '/../library';
if (!is_dir($libPath)) {
// Try to load StandardAutoloader from include_path
if (false === include('Zend/Loader/StandardAutoloader.php')) {
Expand Down

0 comments on commit 75ba595

Please sign in to comment.