A
A
Anatoly2015-08-22 14:28:22
Yii
Anatoly, 2015-08-22 14:28:22

How to override path in Yii backend?

Not so long ago I transferred my site from one domain to another on the same hosting. Those. symlink support helped get it started. Now when opening the controller of the admin part, it refers to the former summit domain. Because of what it throws an error of the wrong namespace.
6fc98a95ee6f4e858df427f1f8a92dff.png
How to override this path: /home/w/websho/summit.today/backend/controllers/CallbackController.php ?
I searched in PHPStorm through Find in Path for a connection with the domain, only logs were found:
03a590d6f83f4feb810e12f57fecacfc.png
I would be very grateful, I have been suffering for several days already.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly, 2015-08-23
@Benjamin_Button

The problem was solved by using a symlink to the ~/web directory.

/xxx.ru/public_html [0] $ ln -s /home/w/account/xxx.ru/backend/web/ admin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question