diff --git a/inc/functions.inc.php b/inc/functions.inc.php index 0697f22..5ad7025 100755 --- a/inc/functions.inc.php +++ b/inc/functions.inc.php @@ -4,7 +4,7 @@ $timenow = date('Y-m-d H:i:s'); // This Version -$yaptc_version = 'yaptc_v1.0-alpha3'; +$yaptc_version = 'yaptc_v1.0-alpha4'; // Timezone from config date_default_timezone_set("$yaptc_timezone"); diff --git a/mysql.sql b/inc/mysql.sql old mode 100755 new mode 100644 similarity index 100% rename from mysql.sql rename to inc/mysql.sql diff --git a/index.php b/index.php index 4495dfb..903d544 100755 --- a/index.php +++ b/index.php @@ -2,6 +2,8 @@ session_start(); if(file_exists("config.inc.php")){ require_once("config.inc.php"); +require_once($yaptc_lang); + }else{ echo "Configuration file not found - please complete setup before continuing."; exit; diff --git a/login.php b/login.php index 727fca8..250eccd 100755 --- a/login.php +++ b/login.php @@ -45,8 +45,6 @@ endif; - - diff --git a/logout.php b/logout.php index 6976236..707f672 100755 --- a/logout.php +++ b/logout.php @@ -1,6 +1,8 @@ '; diff --git a/manualpunch.php b/manualpunch.php index 522f59b..4864bff 100755 --- a/manualpunch.php +++ b/manualpunch.php @@ -1,6 +1,8 @@ '; diff --git a/profile.php b/profile.php index d1412dd..756ba5e 100755 --- a/profile.php +++ b/profile.php @@ -1,6 +1,8 @@ '; diff --git a/reports.php b/reports.php index 68e2cc5..5ab1bbb 100755 --- a/reports.php +++ b/reports.php @@ -1,6 +1,8 @@ '; diff --git a/users.php b/users.php index d85354d..93c0b55 100755 --- a/users.php +++ b/users.php @@ -1,6 +1,8 @@ ';