Peter Kamphausen
Peter Kamphausen

Reputation: 1

Yii2 framework files deleted, but application still works

I'm developing a project with Yii2 in Eclipse IDE. Accidentally I deleted the Yii2 folder under vendor/yiisoft. But still my application works like a charme and it doesn't throw any exceptions. I used Composer installing http://www.yiiframework.com/extension/yii2-improved-basic-template/. The file Vendor/composer/autoload_psr4.php returns an array that includes
'yii\\' => array($vendorDir . '/yiisoft/yii2')
Can anyone tell me where it includes the yii2 framework files from?

Upvotes: 0

Views: 256

Answers (2)

Peter Kamphausen
Peter Kamphausen

Reputation: 1

I finally resolved the problem by cloning the project to another folder and then copying back all files to the original folder. I still haven't got a clue why this strange behavior occured (every cache I know about was flushed). However, now it works as it should. Thanks for your help.

Upvotes: 0

Abhimanyu Saharan
Abhimanyu Saharan

Reputation: 652

It might be using the files from cache. Try flushing all your cache and if it still works. I doubt that it'll :P

Upvotes: 0

Related Questions