Forums / Install & configuration / VarDir on "drive network" ?

VarDir on "drive network" ?

Author Message

MIMRAN David

Monday 23 April 2007 8:02:05 am

We are several developer working for an ezpublish project and we want to centralize the folder Var.
For that, I have change the VarDir variable for a "network volume":
VarDir=x:/test/var
but there is a problem to upload an image. I.E there is a new image in:
X:/test/var/test/storage/images/objectTest/3492-5-fre-FR/objectTest.png
but when you edit the object, the image previsualisation is not good because of an error with the function ezimagemanager::createImageAlias to generate objectTest_reference.png and objectTest_medium.png.
After having specify $sourceMimeData in the function createImageAlias:
$sourceMimeData['name']='image/png';
$destinationMimeData['name']='image/png';
the images objectTest_reference.png and objectTest_medium.png was generate but the previsualisation of the image in the edit view does not ok.

Therefore, after all these bugs I always seek a solution to centralize the folder Var for few developer. Is this possible with a "network volume"?

HFP