<?php
/**
 * 2007-2016 PrestaShop
 *
 * thirty bees is an extension to the PrestaShop e-commerce software developed by PrestaShop SA
 * Copyright (C) 2017-2024 thirty bees
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@thirtybees.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://www.thirtybees.com for more information.
 *
 *  @author    thirty bees <contact@thirtybees.com>
 *  @author    PrestaShop SA <contact@prestashop.com>
 *  @copyright 2017-2024 thirty bees
 *  @copyright 2007-2016 PrestaShop SA
 *  @license   http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 *  PrestaShop is an internationally registered trademark & property of PrestaShop SA
 */

/* Theme URLs */
define('_PS_DEFAULT_THEME_NAME_',        'community-theme-default');
define('_PS_THEME_DIR_',                _PS_ROOT_DIR_.'/themes/'._THEME_NAME_.'/');
define('_THEMES_DIR_',                    __PS_BASE_URI__.'themes/');
define('_THEME_DIR_',                    _THEMES_DIR_._THEME_NAME_.'/');
define('_THEME_IMG_DIR_',                _THEME_DIR_.'img/');
define('_THEME_CSS_DIR_',                _THEME_DIR_.'css/');
define('_THEME_JS_DIR_',                _THEME_DIR_.'js/');
define('_PS_THEME_OVERRIDE_DIR_',        _PS_THEME_DIR_.'override/');

/* For mobile devices */
if (file_exists(_PS_THEME_DIR_.'mobile/')) {
    define('_PS_THEME_MOBILE_DIR_',        _PS_THEME_DIR_.'mobile/');
    define('_THEME_MOBILE_DIR_',        _THEMES_DIR_._THEME_NAME_.'/mobile/');
} else {
    define('_PS_THEME_MOBILE_DIR_',        _PS_ROOT_DIR_.'/themes/'._PS_DEFAULT_THEME_NAME_.'/mobile/');
    define('_THEME_MOBILE_DIR_',        __PS_BASE_URI__.'themes/'._PS_DEFAULT_THEME_NAME_.'/mobile/');
}
define('_PS_THEME_MOBILE_OVERRIDE_DIR_', _PS_THEME_MOBILE_DIR_.'override/');

define('_THEME_MOBILE_IMG_DIR_',        _THEME_MOBILE_DIR_.'img/');
define('_THEME_MOBILE_CSS_DIR_',        _THEME_MOBILE_DIR_.'css/');
define('_THEME_MOBILE_JS_DIR_',            _THEME_MOBILE_DIR_.'js/');

/* For touch pad devices */
define('_PS_THEME_TOUCHPAD_DIR_',        _PS_THEME_DIR_.'touchpad/');
define('_THEME_TOUCHPAD_DIR_',            _THEMES_DIR_._THEME_NAME_.'/touchpad/');
define('_THEME_TOUCHPAD_CSS_DIR_',        _THEME_TOUCHPAD_DIR_.'css/');
define('_THEME_TOUCHPAD_JS_DIR_',        _THEME_TOUCHPAD_DIR_.'js/');

/* Image URLs */
define('_PS_IMG_',                        __PS_BASE_URI__.'img/');
define('_PS_ADMIN_IMG_',                _PS_IMG_.'admin/');
define('_PS_TMP_IMG_',                    _PS_IMG_.'tmp/');
define('_THEME_CAT_DIR_',           _PS_IMG_._TB_IMAGE_MAP_['categories']);
define('_THEME_COL_DIR_',           _PS_IMG_._TB_IMAGE_MAP_['colors']);
define('_THEME_EMPLOYEE_DIR_',      _PS_IMG_._TB_IMAGE_MAP_['employees']);
define('_THEME_GENDERS_DIR_',       _PS_IMG_._TB_IMAGE_MAP_['genders']);
define('_THEME_LANG_DIR_',          _PS_IMG_._TB_IMAGE_MAP_['languages']);
define('_THEME_MANU_DIR_',          _PS_IMG_._TB_IMAGE_MAP_['manufacturers']);
define('_THEME_ORDER_STATES_DIR_',  _PS_IMG_._TB_IMAGE_MAP_['order_states']);
define('_THEME_PROD_DIR_',          _PS_IMG_._TB_IMAGE_MAP_['products']);
define('_THEME_SCENE_DIR_',         _PS_IMG_._TB_IMAGE_MAP_['scenes']);
define('_THEME_SCENE_THUMB_DIR_',   _PS_IMG_._TB_IMAGE_MAP_['scenes_thumbs']);
define('_THEME_SHIP_DIR_',          _PS_IMG_._TB_IMAGE_MAP_['carriers']);
define('_THEME_STORE_DIR_',         _PS_IMG_._TB_IMAGE_MAP_['stores']);
define('_THEME_SUPP_DIR_',          _PS_IMG_._TB_IMAGE_MAP_['suppliers']);

// Deprecated, don't use these.
// @todo: remove their usage.
define('_THEME_SUP_DIR_', _THEME_SUPP_DIR_);
define('_SUPP_DIR_',      _THEME_SUPP_DIR_);
define('_PS_PROD_IMG_',   _THEME_PROD_DIR_);

/* Other URLs */
define('_PS_JS_DIR_',                    __PS_BASE_URI__.'js/');
define('_PS_CSS_DIR_',                    __PS_BASE_URI__.'css/');
define('_THEME_PROD_PIC_DIR_',            __PS_BASE_URI__.'upload/');
define('_MAIL_DIR_',                    __PS_BASE_URI__.'mails/');
define('_MODULE_DIR_',                    __PS_BASE_URI__.'modules/');
