17.11.2016 10:44
|
|
k3nzyyb
Name: Do duc tu
13.01.2013
Posts: 14
|
How to change path products image???
hi guy, i using 2 domain on 1 database.
exp: zzz.com and yyy.com
i want to share folder "files/img_products" => 2 domain use folder "/domains/zzz.com/public_html/components/com_jshopping/files/img_products"
I find, must change components\com_jshopping\lib\default_config.php
Please teach me how to change?? yyy.com use folder in zzz.com, it's on 1 server, 1 database
|
|
17.11.2016 11:36
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25919
|
Aw: How to change path products image???
change rows
$config->image_product_live_path = $config->live_path."files/img_products";
$config->image_product_path = $config->path."files/img_products";
|
|
17.11.2016 15:48
|
|
k3nzyyb
Name: Do duc tu
13.01.2013
Posts: 14
|
Aw: How to change path products image???
please more specific !
you can write code in my example?
I tried to change 2 row, but not works :(
|
|
17.11.2016 15:59
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25919
|
Aw: How to change path products image???
your changed?
|
|
18.11.2016 02:04
|
|
k3nzyyb
Name: Do duc tu
13.01.2013
Posts: 14
|
Aw: How to change path products image???
on domain yyy.com, i changed default_config.php
$config->sky = JPATH_ROOT."/domains/zzz.com/public_html/components/com_jshopping/";
$config->sky_path = JURI::root().'domains/zzz.com/public_html/components/com_jshopping/';
$config->image_product_live_path = $config->sky_path."files/img_products";
$config->image_product_path = $config->sky."files/img_products";
but not work :(
|
|
18.11.2016 08:06
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25919
|
Aw: How to change path products image???
Try
$config->sky = "/domains/zzz.com/public_html/components/com_jshopping/";
$config->sky_path = 'http://zzz.com/components/com_jshopping/';
if it is allowed by your server(
read/write file from folder
/domains/zzz.com/public_html/components/com_jshopping/
)
Letzte Änderung: 18.11.2016 08:09
|
|
19.11.2016 12:20
|
|
k3nzyyb
Name: Do duc tu
13.01.2013
Posts: 14
|
Aw: How to change path products image???
thanks for support !
it's worked when I changed according to your instructions
but must change timthumb.php file => success
|
|