diff options
| author | nashe <contact@nashe.fr> | 2015-08-11 12:04:53 +0200 |
|---|---|---|
| committer | nashe <contact@nashe.fr> | 2015-08-11 12:04:53 +0200 |
| commit | b84b865d45b00600d982fef18991398cb655c7e9 (patch) | |
| tree | 5f3d0432facd74395d029c480bb79d9e0669eb01 /app/app.php | |
| parent | f2788a4ed2eae7f0056ab200b8fc787ed20a32da (diff) | |
| download | planet-b84b865d45b00600d982fef18991398cb655c7e9.tar planet-b84b865d45b00600d982fef18991398cb655c7e9.tar.gz planet-b84b865d45b00600d982fef18991398cb655c7e9.tar.bz2 planet-b84b865d45b00600d982fef18991398cb655c7e9.tar.xz planet-b84b865d45b00600d982fef18991398cb655c7e9.zip | |
Clean code
Replace dirname(__FILE__) by __DIR__.
Diffstat (limited to 'app/app.php')
| -rwxr-xr-x | app/app.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/app.php b/app/app.php index eb6d6cf..269d99c 100755 --- a/app/app.php +++ b/app/app.php @@ -10,8 +10,8 @@ if ($debug) { require_once __DIR__.'/../vendor/autoload.php'; -$savedConfig = dirname(__FILE__).'/../custom/config.yml'; -$moon_version = file_get_contents(dirname(__FILE__).'/../VERSION'); +$savedConfig = __DIR__.'/../custom/config.yml'; +$moon_version = file_get_contents(__DIR__.'/../VERSION'); if (is_file($savedConfig)){ |
