2015-02-12 01:03:26 -05:00
|
|
|
<?php
|
|
|
|
//********** PLEASE EDIT THE FOLLOWING **********//
|
|
|
|
// Paths and directories must include a trailing slash!!!
|
|
|
|
$yaptc_dirpath = '/usr/share/nginx/html/yaptc/'; // Absolute directory path to the root of this program
|
|
|
|
$yaptc_webpath = 'http://server-ip/yaptc/'; // Absolute URL to the root of this program
|
|
|
|
$yaptc_appname = 'Timecard System'; // Program name to display in title bar
|
|
|
|
$yaptc_company = 'Widgets, Inc.'; // Your company name
|
|
|
|
$sql = new PDO('mysql:host=localhost;dbname=your_database;', 'your_user', 'your_password'); // Database connection string
|
2015-02-18 05:13:53 -05:00
|
|
|
$adminmessage = ''; // Message will display on all pages!
|
2015-02-12 01:03:26 -05:00
|
|
|
|
|
|
|
|
|
|
|
//********** NO NEED TO EDIT PAST HERE **********//
|
|
|
|
$_SESSION['yaptc_dir'] = $yaptc_dirpath;
|
|
|
|
$_SESSION['yaptc_url'] = $yaptc_webpath;
|
|
|
|
$yaptc_inc = $yaptc_dirpath . 'includes/';
|
|
|
|
$yaptc_incweb = $yaptc_webpath . 'includes/';
|
|
|
|
$yaptc_lib = $yaptc_dirpath . 'lib/';
|
|
|
|
$yaptc_libweb = $yaptc_webpath . 'lib/';
|
|
|
|
?>
|