Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Sign Up

Двойные пути


reget
 Share

Recommended Posts

то есть пути в коде прописаны как

<link rel="stylesheet" href="/catalog/view/theme/so-sport/css/custom.awew.css"> 
<script src="catalog/view/javascript/jquery/jquery-2.1.1.min.js"></script>
<script src="catalog/view/javascript/bootstrap/js/bootstrap.min.js"></script>
<script src="catalog/view/javascript/soconfig/js/libs.js"></script>
<script src="catalog/view/javascript/soconfig/js/owl.carousel.js"></script>
<script src="catalog/view/javascript/soconfig/js/so.system.js"></script>
<script src="catalog/view/theme/so-sport/js/so.custom.js"></script>
<script src="catalog/view/theme/so-sport/js/common.js"></script>

а ссылаются как

https://en.wineroom.co.il/://en.wineroom.co.il/catalog/view/theme/so-sport/js/common.js

 

сам конфиг

 


// HTTP
define('HTTP_SERVER', REQUEST_SCHEME.'https://wineroom.co.il');

// HTTPS
define('HTTPS_SERVER', REQUEST_SCHEME.'https://wineroom.co.il');

// DIR
define('DIR_APPLICATION', '/var/www/wineroom/data/www/wineroom.co.il/catalog/');
define('DIR_SYSTEM', '/var/www/wineroom/data/www/wineroom.co.il/system/');
define('DIR_IMAGE', '/var/www/wineroom/data/www/wineroom.co.il/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/'); и тд   хотя раньше все норм было

 

Link to comment
Share on other sites


то есть пути в коде прописаны как

<link rel="stylesheet" href="/catalog/view/theme/so-sport/css/custom.awew.css"> 
<script src="catalog/view/javascript/jquery/jquery-2.1.1.min.js"></script>
<script src="catalog/view/javascript/bootstrap/js/bootstrap.min.js"></script>
<script src="catalog/view/javascript/soconfig/js/libs.js"></script>
<script src="catalog/view/javascript/soconfig/js/owl.carousel.js"></script>
<script src="catalog/view/javascript/soconfig/js/so.system.js"></script>
<script src="catalog/view/theme/so-sport/js/so.custom.js"></script>
<script src="catalog/view/theme/so-sport/js/common.js"></script>

а ссылаются как

https://en.wineroom.co.il/://en.wineroom.co.il/catalog/view/theme/so-sport/js/common.js

 

сам конфиг

 


// HTTP
define('HTTP_SERVER', REQUEST_SCHEME.'https://wineroom.co.il');

// HTTPS
define('HTTPS_SERVER', REQUEST_SCHEME.'https://wineroom.co.il');

// DIR
define('DIR_APPLICATION', '/var/www/wineroom/data/www/wineroom.co.il/catalog/');
define('DIR_SYSTEM', '/var/www/wineroom/data/www/wineroom.co.il/system/');
define('DIR_IMAGE', '/var/www/wineroom/data/www/wineroom.co.il/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/'); и тд   хотя раньше все норм было

 

в самом хедер твиг все прописано

{{soconfig.addCss('catalog/view/javascript/font-awesome/css/font-awesome.min.css')}}
{{soconfig.addCss('catalog/view/javascript/soconfig/css/lib.css')}}
{{soconfig.addCss('catalog/view/javascript/soconfig/css/owl.carousel.css')}}
{{soconfig.addCss('catalog/view/theme/'~theme_directory~'/css/ie9-and-up.css')}}

{# =========== Begin General Scripts ==============#}
{{soconfig.addJs('catalog/view/javascript/jquery/jquery-2.1.1.min.js')}}
{{soconfig.addJs('catalog/view/javascript/bootstrap/js/bootstrap.min.js')}}
{{soconfig.addJs('catalog/view/javascript/soconfig/js/libs.js')}}
{{soconfig.addJs('catalog/view/javascript/soconfig/js/owl.carousel.js')}}
{{soconfig.addJs('catalog/view/javascript/soconfig/js/so.system.js')}}

{{soconfig.addJs('catalog/view/theme/'~theme_directory~'/js/so.custom.js')}}
{{soconfig.addJs('catalog/view/theme/'~theme_directory~'/js/common.js')}}

 

 

Link to comment
Share on other sites


1 час назад, reget сказал:

это на какой строчке вы catalog  увидели

только где это подключение искать в каком файле темы

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.