Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
TeamCal Opti 1
Index: error.php
===================================================================
--- error.php (Revision 108)
+++ error.php (Revision 109)
@@ -20,7 +20,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: declination.php
===================================================================
--- declination.php (Revision 108)
+++ declination.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: announcement.php
===================================================================
--- announcement.php (Revision 108)
+++ announcement.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: statistics.php
===================================================================
--- statistics.php (Revision 108)
+++ statistics.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: legend.php
===================================================================
--- legend.php (Revision 108)
+++ legend.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: daynote.php
===================================================================
--- daynote.php (Revision 108)
+++ daynote.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: phpinfo.php
===================================================================
--- phpinfo.php (Revision 108)
+++ phpinfo.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: environment.php
===================================================================
--- environment.php (Revision 108)
+++ environment.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: database.php
===================================================================
--- database.php (Revision 108)
+++ database.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: phpinfoshow.php
===================================================================
--- phpinfoshow.php (Revision 108)
+++ phpinfoshow.php (Revision 109)
@@ -20,7 +20,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
/**
Index: verify.php
===================================================================
--- verify.php (Revision 108)
+++ verify.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: editprofile.php
===================================================================
--- editprofile.php (Revision 108)
+++ editprofile.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: login.php
===================================================================
--- login.php (Revision 108)
+++ login.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: userlist.php
===================================================================
--- userlist.php (Revision 108)
+++ userlist.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: exportdata.php
===================================================================
--- exportdata.php (Revision 108)
+++ exportdata.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
@@ -175,4 +175,4 @@
}
return $output;
}
-?>
\ No newline at end of file
+?>
Index: absicon.php
===================================================================
--- absicon.php (Revision 108)
+++ absicon.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: statisticsu.php
===================================================================
--- statisticsu.php (Revision 108)
+++ statisticsu.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: editcalendar.php
===================================================================
--- editcalendar.php (Revision 108)
+++ editcalendar.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: groups.php
===================================================================
--- groups.php (Revision 108)
+++ groups.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: includes/tcuseroption.class.php
===================================================================
--- includes/tcuseroption.class.php (Revision 108)
+++ includes/tcuseroption.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -44,8 +46,6 @@
function tcUserOption()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_user_options'];
$this->log = $CONF['db_table_log'];
@@ -183,4 +183,4 @@
} // End Class tcUserOption
} // if (!class_exists("tcUserOption"))
-?>
\ No newline at end of file
+?>
Index: includes/tcavatar.class.php
===================================================================
--- includes/tcavatar.class.php (Revision 108)
+++ includes/tcavatar.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -38,8 +40,6 @@
function tcAvatar()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
require_once( $CONF['app_root'] . "includes/tcconfig.class.php" );
$C = new tcConfig;
$this->maxHeight = $C->readConfig("avatarHeight");
@@ -246,4 +246,4 @@
} // End Class tcAvatar
} // if ( !class_exists( "tcAvatar" ) ) {
-?>
\ No newline at end of file
+?>
Index: includes/tcmonth.class.php
===================================================================
--- includes/tcmonth.class.php (Revision 108)
+++ includes/tcmonth.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -48,7 +50,7 @@
*/
function tcMonth()
{
- require ("config.tcpro.php");
+ global $CONF;
global $LANG;
$this->db = new myDB;
$this->table = $CONF['db_table_months'];
@@ -223,4 +225,4 @@
} // End Class tcMonth
} // if ( !class_exists( "tcMonth" ) ) {
-?>
\ No newline at end of file
+?>
Index: includes/tcholiday.class.php
===================================================================
--- includes/tcholiday.class.php (Revision 108)
+++ includes/tcholiday.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -48,8 +50,6 @@
function tcHoliday()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_holidays'];
$this->log = $CONF['db_table_log'];
@@ -196,4 +196,4 @@
} // End Class tcHoliday
} // if ( !class_exists( "tcHoliday" ) ) {
-?>
\ No newline at end of file
+?>
Index: includes/tcgroup.class.php
===================================================================
--- includes/tcgroup.class.php (Revision 108)
+++ includes/tcgroup.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -46,8 +48,6 @@
function tcGroup()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_groups'];
$this->log = $CONF['db_table_log'];
Index: includes/other.inc.php
===================================================================
--- includes/other.inc.php (Revision 108)
+++ includes/other.inc.php (Revision 109)
@@ -16,8 +16,7 @@
/**
* Includes
*/
-unset($CONF);
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once( $CONF['app_root']."includes/functions.tcpro.php" );
getOptions();
include( $CONF['app_root']."includes/lang/".$CONF['options']['lang'].".tcpro.php");
Index: includes/tcabsence.class.php
===================================================================
--- includes/tcabsence.class.php (Revision 108)
+++ includes/tcabsence.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
if (!class_exists("tcAbsence"))
{
/**
@@ -46,8 +48,6 @@
function tcAbsence()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_absence'];
$this->log = $CONF['db_table_log'];
Index: includes/tcdaynote.class.php
===================================================================
--- includes/tcdaynote.class.php (Revision 108)
+++ includes/tcdaynote.class.php (Revision 109)
@@ -12,6 +12,7 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
/**
* Make sure the class hasn't been loaded yet
@@ -44,7 +45,7 @@
*/
function tcDaynote()
{
- require ("config.tcpro.php");
+ global $CONF;
$this->db = new myDB;
$this->table = $CONF['db_table_daynotes'];
$this->log = $CONF['db_table_log'];
Index: includes/tcallowance.class.php
===================================================================
--- includes/tcallowance.class.php (Revision 108)
+++ includes/tcallowance.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -44,8 +46,6 @@
function tcAllowance()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_allowance'];
$this->log = $CONF['db_table_log'];
Index: includes/tcconfig.class.php
===================================================================
--- includes/tcconfig.class.php (Revision 108)
+++ includes/tcconfig.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -41,8 +43,6 @@
function tcConfig()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_config'];
$this->log = $CONF['db_table_log'];
@@ -104,4 +104,4 @@
} // End Class tcConfig
} // End if (!class_exists("tcConfig"))
-?>
\ No newline at end of file
+?>
Index: includes/tcstatistic.class.php
===================================================================
--- includes/tcstatistic.class.php (Revision 108)
+++ includes/tcstatistic.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -45,8 +47,6 @@
{
global $CONF;
global $LANG;
- unset($CONF);
- require ("config.tcpro.php");
}
/**
@@ -343,4 +343,4 @@
} // End Class tcStatistic
} // if ( !class_exists( "tcStatistic" ) ) {
-?>
\ No newline at end of file
+?>
Index: includes/tclogin.class.php
===================================================================
--- includes/tclogin.class.php (Revision 108)
+++ includes/tclogin.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -46,8 +48,6 @@
global $_POST;
global $_SERVER;
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
require_once ($CONF['app_root'] . "includes/tcconfig.class.php");
require_once ($CONF['app_root'] . "includes/tcuseroption.class.php");
Index: includes/tctemplate.class.php
===================================================================
--- includes/tctemplate.class.php (Revision 108)
+++ includes/tctemplate.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -43,8 +45,6 @@
function tcTemplate()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_templates'];
$this->log = $CONF['db_table_log'];
@@ -209,4 +209,4 @@
} // End Class tcTemplate
} // if ( !class_exists( "tcTemplate" ) ) {
-?>
\ No newline at end of file
+?>
Index: includes/tcabsencegroup.class.php
===================================================================
--- includes/tcabsencegroup.class.php (Revision 108)
+++ includes/tcabsencegroup.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -42,8 +44,6 @@
function tcAbsenceGroup()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_absence_group'];
$this->log = $CONF['db_table_log'];
Index: includes/tcuser.class.php
===================================================================
--- includes/tcuser.class.php (Revision 108)
+++ includes/tcuser.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -71,8 +73,6 @@
function tcUser()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_users'];
$this->salt = $CONF['salt'];
Index: includes/tclog.class.php
===================================================================
--- includes/tclog.class.php (Revision 108)
+++ includes/tclog.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -45,7 +47,7 @@
*/
function tcLog()
{
- require ("config.tcpro.php");
+ global $CONF;
$this->db = new myDB;
$this->table = $CONF['db_table_log'];
}
@@ -101,4 +103,4 @@
} // End Class tcLog
} // if ( !class_exists( "tcLog" ) ) {
-?>
\ No newline at end of file
+?>
Index: includes/menu.inc.php
===================================================================
--- includes/menu.inc.php (Revision 108)
+++ includes/menu.inc.php (Revision 109)
@@ -16,7 +16,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once( $CONF['app_root']."includes/functions.tcpro.php" );
getOptions();
require( $CONF['app_root']."includes/lang/".$CONF['options']['lang'].".tcpro.php");
Index: includes/tcregion.class.php
===================================================================
--- includes/tcregion.class.php (Revision 108)
+++ includes/tcregion.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -43,7 +45,7 @@
*/
function tcRegion()
{
- require ("config.tcpro.php");
+ global $CONF;
$this->db = new myDB;
$this->table = $CONF['db_table_regions'];
$this->log = $CONF['db_table_log'];
Index: includes/tcannouncement.class.php
===================================================================
--- includes/tcannouncement.class.php (Revision 108)
+++ includes/tcannouncement.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -44,8 +46,6 @@
function tcAnnouncement()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_announcements'];
$this->uatable = $CONF['db_table_user_announcement'];
@@ -155,4 +155,4 @@
} // End Class tcAnnouncement
} // if ( !class_exists( "tcAnnouncement" ) ) {
-?>
\ No newline at end of file
+?>
Index: includes/tcusergroup.class.php
===================================================================
--- includes/tcusergroup.class.php (Revision 108)
+++ includes/tcusergroup.class.php (Revision 109)
@@ -12,6 +12,8 @@
* @link http://www.lewe.com
* @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License
*/
+require_once ("config.tcpro.php");
+
/**
* Make sure the class hasn't been loaded yet
*/
@@ -44,8 +46,6 @@
function tcUserGroup()
{
global $CONF;
- unset($CONF);
- require ("config.tcpro.php");
$this->db = new myDB;
$this->table = $CONF['db_table_user_group'];
$this->log = $CONF['db_table_log'];
Index: log.php
===================================================================
--- log.php (Revision 108)
+++ log.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: absences.php
===================================================================
--- absences.php (Revision 108)
+++ absences.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: viewprofile.php
===================================================================
--- viewprofile.php (Revision 108)
+++ viewprofile.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: editmonth.php
===================================================================
--- editmonth.php (Revision 108)
+++ editmonth.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: showyear.php
===================================================================
--- showyear.php (Revision 108)
+++ showyear.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: groupassign.php
===================================================================
--- groupassign.php (Revision 108)
+++ groupassign.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: popup.php
===================================================================
--- popup.php (Revision 108)
+++ popup.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: config.php
===================================================================
--- config.php (Revision 108)
+++ config.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: regions.php
===================================================================
--- regions.php (Revision 108)
+++ regions.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: index.php
===================================================================
--- index.php (Revision 108)
+++ index.php (Revision 109)
@@ -42,7 +42,7 @@
* Get all $_REQUEST and $_POST parameters into $CONF['options'][]
* and overwrite defaults accordingly.
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: addprofile.php
===================================================================
--- addprofile.php (Revision 108)
+++ addprofile.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: loglevel.php
===================================================================
--- loglevel.php (Revision 108)
+++ loglevel.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: userimport.php
===================================================================
--- userimport.php (Revision 108)
+++ userimport.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: about.php
===================================================================
--- about.php (Revision 108)
+++ about.php (Revision 109)
@@ -23,7 +23,7 @@
/**
* Include configuration
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: holidays.php
===================================================================
--- holidays.php (Revision 108)
+++ holidays.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: absencegroup.php
===================================================================
--- absencegroup.php (Revision 108)
+++ absencegroup.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: message.php
===================================================================
--- message.php (Revision 108)
+++ message.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: register.php
===================================================================
--- register.php (Revision 108)
+++ register.php (Revision 109)
@@ -24,7 +24,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Index: upload.php
===================================================================
--- upload.php (Revision 108)
+++ upload.php (Revision 109)
@@ -22,7 +22,7 @@
/**
* Includes
*/
-require ("config.tcpro.php");
+require_once ("config.tcpro.php");
require_once ("includes/functions.tcpro.php");
getOptions();
if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.