| 1: | <?php
|
| 2: | namespace Opencart\Catalog\Controller\Startup;
|
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: |
|
| 8: | class Application extends \Opencart\System\Engine\Controller {
|
| 9: | |
| 10: | |
| 11: |
|
| 12: | public function index(): void {
|
| 13: |
|
| 14: | $this->registry->set('weight', new \Opencart\System\Library\Cart\Weight($this->registry));
|
| 15: |
|
| 16: |
|
| 17: | $this->registry->set('length', new \Opencart\System\Library\Cart\Length($this->registry));
|
| 18: |
|
| 19: |
|
| 20: | $this->registry->set('cart', new \Opencart\System\Library\Cart\Cart($this->registry));
|
| 21: |
|
| 22: |
|
| 23: | $this->load->helper('validation');
|
| 24: | }
|
| 25: | }
|
| 26: | |