diff --git a/actions/admin/settings/000.version.php b/actions/admin/settings/000.version.php index f469b251..acbd2d76 100644 --- a/actions/admin/settings/000.version.php +++ b/actions/admin/settings/000.version.php @@ -1,16 +1,18 @@ - * @license GPLv2 http://files.syscp.org/misc/COPYING.txt + * @author Florian Lippert (2003-2009) + * @author Froxlor Team (2010) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Panel * @version $Id: 000.version.php 2733 2009-11-06 09:32:00Z flo $ */ @@ -29,7 +31,7 @@ return array( 'settinggroup' => 'panel', 'varname' => 'frontend', 'type' => 'hidden', - 'default' => 'syscp', + 'default' => 'froxlor', ), 'system_last_tasks_run' => array( 'settinggroup' => 'system', diff --git a/index.php b/index.php index 06dd2967..bfc8ee4c 100644 --- a/index.php +++ b/index.php @@ -1,16 +1,18 @@ - * @license GPLv2 http://files.syscp.org/misc/COPYING.txt + * @author Florian Lippert (2003-2009) + * @author Froxlor Team (2010) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Panel * @version $Id: index.php 2693 2009-03-27 19:31:48Z flo $ */ @@ -211,11 +213,11 @@ if($action == 'forgotpwd') AND `email`='" . $user['email'] . "'"); } - $rstlog = SysCPLogger::getInstanceOf(array('loginname' => 'password_reset'), $db, $settings); + $rstlog = FroxlorLogger::getInstanceOf(array('loginname' => 'password_reset'), $db, $settings); $rstlog->logAction(USR_ACTION, LOG_WARNING, "Password for user '" . $user['loginname'] . "' has been reset!"); $body = strtr($lng['pwdreminder']['body'], array('%s' => $user['firstname'] . ' ' . $user['name'], '%p' => $password)); $mail->From = $settings['panel']['adminmail']; - $mail->FromName = 'SysCP'; + $mail->FromName = 'Froxlor'; $mail->Subject = $lng['pwdreminder']['subject']; $mail->Body = $body; $mail->AddAddress($user['email'], $user['firstname'] . ' ' . $user['name']); @@ -231,7 +233,7 @@ if($action == 'forgotpwd') $mailerr_msg = $email; } - $rstlog = SysCPLogger::getInstanceOf(array('loginname' => 'password_reset'), $db, $settings); + $rstlog = FroxlorLogger::getInstanceOf(array('loginname' => 'password_reset'), $db, $settings); $rstlog->logAction(ADM_ACTION, LOG_ERR, "Error sending mail: " . $mailerr_msg); redirectTo('index.php', Array('showmessage' => '4'), true); exit; @@ -243,7 +245,7 @@ if($action == 'forgotpwd') } else { - $rstlog = SysCPLogger::getInstanceOf(array('loginname' => 'password_reset'), $db, $settings); + $rstlog = FroxlorLogger::getInstanceOf(array('loginname' => 'password_reset'), $db, $settings); $rstlog->logAction(USR_ACTION, LOG_WARNING, "User '" . $loginname . "' tried to reset pwd but wasn't found in database!"); $message = $lng['login']['usernotfound']; } @@ -268,4 +270,4 @@ if($action == 'forgotpwd') eval("echo \"" . getTemplate("fpwd") . "\";"); } -?> \ No newline at end of file +?> diff --git a/lib/classes/logger/class.SysLogger.php b/lib/classes/logger/class.SysLogger.php index cfdb80fe..9c31fc1b 100644 --- a/lib/classes/logger/class.SysLogger.php +++ b/lib/classes/logger/class.SysLogger.php @@ -108,7 +108,7 @@ class SysLogger extends AbstractLogger $name = " (" . $this->userinfo['loginname'] . ")"; } - openlog("SysCP", LOG_NDELAY, LOG_USER); + openlog("Froxlor", LOG_NDELAY, LOG_USER); if($text != null && $text != '') diff --git a/lib/cron_init.php b/lib/cron_init.php index 7450c0cb..78689606 100644 --- a/lib/cron_init.php +++ b/lib/cron_init.php @@ -248,7 +248,7 @@ $idna_convert = new idna_convert_wrapper(); * Initialize logging */ -$cronlog = SysCPLogger::getInstanceOf(array('loginname' => 'cronjob'), $db, $settings); +$cronlog = FroxlorLogger::getInstanceOf(array('loginname' => 'cronjob'), $db, $settings); fwrite($debugHandler, 'Logger has been included' . "\n"); ?> diff --git a/lib/functions/froxlor/function.createAWStatsConf.php b/lib/functions/froxlor/function.createAWStatsConf.php index 973c19b3..e44d7547 100644 --- a/lib/functions/froxlor/function.createAWStatsConf.php +++ b/lib/functions/froxlor/function.createAWStatsConf.php @@ -1,16 +1,18 @@ - * @license GPLv2 http://files.syscp.org/misc/COPYING.txt + * @author Florian Lippert (2003-2009) + * @author Froxlor Team (2010) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Functions * @version $Id: function.createAWStatsConf.php 2724 2009-06-07 14:18:02Z flo $ */ @@ -34,7 +36,7 @@ function createAWStatsConf($logFile, $siteDomain, $hostAliases) // Generation header $header = "## GENERATED BY SYSCP\n"; - $header2 = "## Do not remove the line above! This tells SysCP to update this configuration\n## If you wish to manually change this configuration file, remove the first line to make sure SysCP won't rebuild this file\n## Generated for domain {SITE_DOMAIN} on " . date('l dS \of F Y h:i:s A') . "\n"; + $header2 = "## Do not remove the line above! This tells Froxlor to update this configuration\n## If you wish to manually change this configuration file, remove the first line to make sure Froxlor won't rebuild this file\n## Generated for domain {SITE_DOMAIN} on " . date('l dS \of F Y h:i:s A') . "\n"; // These are the variables we will replace diff --git a/lib/init.php b/lib/init.php index 0aab8fb8..38247b75 100644 --- a/lib/init.php +++ b/lib/init.php @@ -318,7 +318,7 @@ if(isset($userinfo['loginname']) * Initialize logging */ - $log = SysCPLogger::getInstanceOf($userinfo, $db, $settings); + $log = FroxlorLogger::getInstanceOf($userinfo, $db, $settings); } /** diff --git a/scripts/cron_tasks.inc.http.15.apache_fcgid.php b/scripts/cron_tasks.inc.http.15.apache_fcgid.php index 31876f25..4f69428f 100644 --- a/scripts/cron_tasks.inc.http.15.apache_fcgid.php +++ b/scripts/cron_tasks.inc.http.15.apache_fcgid.php @@ -1,12 +1,13 @@ @@ -14,7 +15,7 @@ * @author Michael Kaufmann * @author Sven Skrabal * @author Florian Lippert - * @license GPLv2 http://files.syscp.org/misc/COPYING.txt + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package System * @version $Id: cron_tasks.inc.http.15.apache_fcgid.php 2714 2009-04-17 10:02:03Z flo $ */ @@ -97,7 +98,7 @@ class apache_fcgid extends apache $starter_file = "#!/bin/sh\n\n"; $starter_file.= "#\n"; $starter_file.= "# starter created/changed on " . date("Y.m.d H:i:s") . " for domain '" . $domain['domain'] . "' with id #" . $domain['id'] . " from php template '" . $phpconfig['description'] . "' with id #" . $phpconfig['id'] . "\n"; - $starter_file.= "# Do not change anything in this file, it will be overwritten by the SysCP Cronjob!\n"; + $starter_file.= "# Do not change anything in this file, it will be overwritten by the Froxlor Cronjob!\n"; $starter_file.= "#\n\n"; $starter_file.= "PHPRC=" . escapeshellarg($configdir) . "\n"; $starter_file.= "export PHPRC\n"; @@ -210,7 +211,7 @@ class apache_fcgid extends apache $phpini_file = ";\n"; $phpini_file.= "; php.ini created/changed on " . date("Y.m.d H:i:s") . " for domain '" . $domain['domain'] . "' with id #" . $domain['id'] . " from php template '" . $phpconfig['description'] . "' with id #" . $phpconfig['id'] . "\n"; - $phpini_file.= "; Do not change anything in this file, it will be overwritten by the SysCP Cronjob!\n"; + $phpini_file.= "; Do not change anything in this file, it will be overwritten by the Froxlor Cronjob!\n"; $phpini_file.= ";\n\n"; $phpini_file.= replace_variables($phpconfig['phpsettings'], $php_ini_variables); $phpini_file = str_replace('"none"', 'none', $phpini_file); @@ -261,4 +262,4 @@ class apache_fcgid extends apache } } -?> \ No newline at end of file +?> diff --git a/scripts/cron_tasks.inc.http.25.lighttpd_fcgid.php b/scripts/cron_tasks.inc.http.25.lighttpd_fcgid.php index 137f78cd..9275302a 100644 --- a/scripts/cron_tasks.inc.http.25.lighttpd_fcgid.php +++ b/scripts/cron_tasks.inc.http.25.lighttpd_fcgid.php @@ -119,7 +119,7 @@ class lighttpd_fcgid extends lighttpd $starter_file = "#!/bin/sh\n\n"; $starter_file.= "#\n"; $starter_file.= "# starter created/changed on " . date("Y.m.d H:i:s") . " for domain '" . $domain['domain'] . "' with id #" . $domain['id'] . " from php template '" . $phpconfig['description'] . "' with id #" . $phpconfig['id'] . "\n"; - $starter_file.= "# Do not change anything in this file, it will be overwritten by the SysCP Cronjob!\n"; + $starter_file.= "# Do not change anything in this file, it will be overwritten by the Froxlor Cronjob!\n"; $starter_file.= "#\n\n"; $starter_file.= "PHPRC=" . escapeshellarg($configdir) . "\n"; $starter_file.= "export PHPRC\n"; @@ -232,7 +232,7 @@ class lighttpd_fcgid extends lighttpd $phpini_file = ";\n"; $phpini_file.= "; php.ini created/changed on " . date("Y.m.d H:i:s") . " for domain '" . $domain['domain'] . "' with id #" . $domain['id'] . " from php template '" . $phpconfig['description'] . "' with id #" . $phpconfig['id'] . "\n"; - $phpini_file.= "; Do not change anything in this file, it will be overwritten by the SysCP Cronjob!\n"; + $phpini_file.= "; Do not change anything in this file, it will be overwritten by the Froxlor Cronjob!\n"; $phpini_file.= ";\n\n"; $phpini_file.= replace_variables($phpconfig['phpsettings'], $php_ini_variables); $phpini_file = str_replace('"none"', 'none', $phpini_file); diff --git a/scripts/cron_traffic.php b/scripts/cron_traffic.php index 84f214cb..34a483a3 100644 --- a/scripts/cron_traffic.php +++ b/scripts/cron_traffic.php @@ -1,17 +1,18 @@ * @author Martin Burchert - * @license GPLv2 http://files.syscp.org/misc/COPYING.txt + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package System * @version $Id: cron_traffic.php 2739 2009-11-06 14:46:30Z flo $ */ @@ -210,7 +211,7 @@ while($row = $db->fetch_array($result)) fclose($debugHandler); unlink($lockfile); $cronlog->logAction(CRON_ACTION, LOG_ERR, 'Database-connection crashed during traffic-cronjob, could not reconnect!'); - die('SysCP can\'t connect to mysqlserver. Exiting...'); + die('Froxlor can\'t connect to mysqlserver. Exiting...'); } fwrite($debugHandler, 'Database-connection re-established' . "\n"); diff --git a/templates/misc/configfiles/ubuntu_hardy/lighttpd/etc_lighttpd.conf b/templates/misc/configfiles/ubuntu_hardy/lighttpd/etc_lighttpd.conf index b69f0435..cfa3326a 100644 --- a/templates/misc/configfiles/ubuntu_hardy/lighttpd/etc_lighttpd.conf +++ b/templates/misc/configfiles/ubuntu_hardy/lighttpd/etc_lighttpd.conf @@ -1,5 +1,5 @@ ############################################################################### -# Default lighttpd.conf for SysCP. +# Default lighttpd.conf for Froxlor. ############################################################################### var.basedir = "/var/www" var.logdir = "/var/log/lighttpd" @@ -57,4 +57,4 @@ include_shell "/usr/share/lighttpd/create-mime.assign.pl" ## load enabled configuration files, ## read /etc/lighttpd/conf-available/README first -include_shell "/usr/share/lighttpd/include-conf-enabled.pl" \ No newline at end of file +include_shell "/usr/share/lighttpd/include-conf-enabled.pl"