Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of Shop
*
* @author youness
*/
class Shop extends ShopCore
{
public $domain;
public $virtual_uri;
public $base_uri;
public function __construct()
{
parent::__construct();
$this->domain = Tools::getShopDomain(true);
$this->virtual_uri = '';
$this->base_uri = '';
}
public function getBaseURL()
{
if (!isset($this->domain) || !$this->domain)
return false;
return 'http://'.$this->domain.$this->base_uri;
}
}