ok now this is it. stupid mistakes - need a break. this one works.
This commit is contained in:
parent
351b9c3eeb
commit
61ce24efef
@ -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");
|
||||
|
0
mysql.sql → inc/mysql.sql
Executable file → Normal file
0
mysql.sql → inc/mysql.sql
Executable file → Normal file
@ -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;
|
||||
|
@ -45,8 +45,6 @@ endif;
|
||||
<button class="btn btn-lg btn-primary btn-block" type="submit" name="login"><?php echo lang('LOGIN'); ?></button>
|
||||
</form>
|
||||
|
||||
<?php echo lang('LOGIN'); ?>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- ********** END CONTENT ********** -->
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
session_start();
|
||||
require_once("config.inc.php");
|
||||
require_once($yaptc_lang);
|
||||
|
||||
require_once($yaptc_inc . "functions.inc.php");
|
||||
$yaptc_pagename = lang('LOGOUT');
|
||||
$yaptc_pageicon = '<i class="fa fa-sign-out"></i> ';
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
session_start();
|
||||
require_once("config.inc.php");
|
||||
require_once($yaptc_lang);
|
||||
|
||||
require_once($yaptc_inc . "functions.inc.php");
|
||||
$yaptc_pagename = lang('PUNCH_EDITOR');
|
||||
$yaptc_pageicon = '<i class="fa fa-clock-o"></i> ';
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
session_start();
|
||||
require_once("config.inc.php");
|
||||
require_once($yaptc_lang);
|
||||
|
||||
require_once($yaptc_inc . "functions.inc.php");
|
||||
$yaptc_pagename = lang('ACCOUNT');
|
||||
$yaptc_pageicon = '<i class="fa fa-cog"></i> ';
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
session_start();
|
||||
require_once("config.inc.php");
|
||||
require_once($yaptc_lang);
|
||||
|
||||
require_once($yaptc_inc . "functions.inc.php");
|
||||
$yaptc_pagename = "Reports";
|
||||
$yaptc_pageicon = '<i class="fa fa-newspaper-o"></i> ';
|
||||
|
Loading…
Reference in New Issue
Block a user