Skip to content

Commit

Permalink
Rename file from preload.php to autoload.php (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
devanych committed Jan 7, 2022
1 parent 2f12111 commit 6a8a1ab
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion psalm.xml
Expand Up @@ -10,7 +10,7 @@
<directory name="src"/>
<file name="public/index.php"/>
<file name="yii"/>
<file name="preload.php"/>
<file name="autoload.php"/>
</projectFiles>
</psalm>

2 changes: 1 addition & 1 deletion public/index.php
Expand Up @@ -21,7 +21,7 @@
$_SERVER['SCRIPT_NAME'] = '/index.php';
}

require_once dirname(__DIR__) . '/preload.php';
require_once dirname(__DIR__) . '/autoload.php';

if (getenv('YII_ENV') === 'test') {
$c3 = dirname(__DIR__) . '/c3.php';
Expand Down
2 changes: 1 addition & 1 deletion yii
Expand Up @@ -5,7 +5,7 @@ declare(strict_types=1);

use Yiisoft\Yii\Runner\Console\ConsoleApplicationRunner;

require_once __DIR__ . '/preload.php';
require_once __DIR__ . '/autoload.php';

// Run console application runner
$runner = new ConsoleApplicationRunner(__DIR__, $_ENV['YII_DEBUG'], $_ENV['YII_ENV']);
Expand Down

0 comments on commit 6a8a1ab

Please sign in to comment.