first commit
This commit is contained in:
22
catalog/controller/startup/application.php
Normal file
22
catalog/controller/startup/application.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
namespace Opencart\Catalog\Controller\Startup;
|
||||
/**
|
||||
* Class Application
|
||||
*
|
||||
* @package Opencart\Catalog\Controller\Startup
|
||||
*/
|
||||
class Application extends \Opencart\System\Engine\Controller {
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function index(): void {
|
||||
// Weight
|
||||
$this->registry->set('weight', new \Opencart\System\Library\Cart\Weight($this->registry));
|
||||
|
||||
// Length
|
||||
$this->registry->set('length', new \Opencart\System\Library\Cart\Length($this->registry));
|
||||
|
||||
// Cart
|
||||
$this->registry->set('cart', new \Opencart\System\Library\Cart\Cart($this->registry));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user