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);
?>