Skip to content

Commit 91f4723

Browse files
committed
use better file constant.
1 parent b87f74a commit 91f4723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel.drush.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function drush_kernel_app($command = '') {
4646

4747
// Include the run in a different file so that PHP versions < 5.3 do not fail
4848
// parsing the file.
49-
require_once(dirname(__FILE__) . '/kernel.drush.run.inc');
49+
require_once(__DIR__ .'/kernel.drush.run.inc');
5050

5151
// Run the console command using the given function arguments.
5252
return drush_kernel_app_run(func_get_args());

0 commit comments

Comments
 (0)