forked from PrestaShop/PrestaShop
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.php
More file actions
Latest commit
21 lines (19 loc) · 501 Bytes
/
Copy pathinit.php
File metadata and controls
21 lines (19 loc) · 501 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*/
/**
* @deprecated This file will be removed in v10
*
* Not used anymore, will be removed in next major version
*/
if (!defined('_PS_VERSION_')) {
exit;
}
if (isset(Context::getContext()->controller)) {
$controller = Context::getContext()->controller;
} else {
$controller = newFrontController();
$controller->init();
}