4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Tino23 on December 26, 2010, 12:00:08 PM
-
Hallo, ich habe mal eine Frage zur config.php. Meine Datei stammt noch aus einer 1.7.4 Installation (alle anderen hab ich auf die 1.7.9 geupdatet). Seit der 1.7.8 Version wird in die Datei ja die Zeitzone mit Eingetragen, die man bei der Installation ausgewähl hat.
date_default_timezone_set("Europe/Berlin");
Kann ich dieze Zeie manuell in meine alte config.php Schreiben, oder macht das keinen Sinn?
alte config.php
<?php
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: config.php *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web: http://www.4homepages.de *
* Scriptversion: 1.7.4 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (Lizenz.txt) für weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (Licence.txt) for further information. *
* *
*************************************************************************/
if (function_exists("date_default_timezone_set"))
date_default_timezone_set('CET');
$db_servertype = "mysql";
$db_host = "localhost";
$db_name = "xxxx";
$db_user = "xxxx";
$db_password = "xxxx";
$table_prefix = "4images_";
define("4IMAGES_ACTIVE", 1);
?>
neue config.php
<?php
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: config.php *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web: http://www.4homepages.de *
* Scriptversion: 1.7.4 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (Lizenz.txt) für weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (Licence.txt) for further information. *
* *
*************************************************************************/
date_default_timezone_set("Europe/Berlin");
$db_servertype = "mysql";
$db_host = "localhost";
$db_name = "xxxxx";
$db_user = "xxxx";
$db_password = "xxxx";
$table_prefix = "4images_";
define("4IMAGES_ACTIVE", 1);
?>
-
wenn du einen php5 server hast kannst du es eintragen, wenn nicht:
http://www.4homepages.de/forum/index.php?topic=27939.msg151217#msg151217
mfg Andi
-
Gilt diese Änderrung auch noch für die 1.7.9 Version?
-
nein