28
« en: 15 de Octubre del 2015, 18:15:17 pm »
como coger los datos del directori raiz del servidor (www u otro nombre)
tienes la plantilla en:
www/weather28/
modificar las lineas siguientes de:
weather28/_my_texts/wsUserSettings.php
linea 402 $SITE["standard_upload"]= true;
#
# If you do not want or are not able to upload to the default folder set the correct upload folder here
#
#$SITE["uploadDir"] = "../"; # example for upload to root
#$SITE["clientrawDir"] = "../";
#$SITE["graphImageDir"] = "../";
por
linea 402 $SITE["standard_upload"]= true;
#
# If you do not want or are not able to upload to the default folder set the correct upload folder here
#
$SITE["uploadDir"] = "./../";
$SITE["clientrawDir"] = "./../";
$SITE["graphImageDir"] = "./../";
asi evito subir lo mismo en diferentes carpetas
---------------------------------------------------------
para los que usen tambien WXSIM modificar la linea 159
# WXSIM weather-forecasting
$SITE["wxsimPage"] = false; # true = Yes, we use the WXSIM paid program to make our weather-forecasts | false = Do not display
$SITE["wxsimData"] = "../";
$SITE["wxsim_file"] = "latest.csv";
por
# WXSIM weather-forecasting
$SITE["wxsimPage"] = true; # true = Yes, we use the WXSIM paid program to make our weather-forecasts | false = Do not display
$SITE["wxsimData"] = "./../";
$SITE["wxsim_file"] = "latest.csv";
---------------------------------------------------------------
añadir lenguaje en español linea 416
$SITE["installedLanguages"] = array (
"nl" => "Nederlands",
"en" => "English",
"fr" => "Français",
"de" => "Deutsch",
"es"=> "Español",
);
------------------------------------