first commit

This commit is contained in:
sujan
2024-08-06 18:06:00 +05:45
commit a2fa49071a
2745 changed files with 391199 additions and 0 deletions

View 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));
}
}