Select Git revision
config.sample.php
config.sample.php 754 B
<?php
ini_set('display_errors',false);
// Sample configuration file for the ucomm webforms project
set_include_path(dirname(__FILE__).'/lib/php/'.PATH_SEPARATOR.get_include_path());
$con = mysql_connect("localhost","test","test");
if (!$con){
die('Could not connect: ' . mysql_error());
}else{
mysql_select_db("physics_voting", $con);
}
function myautoload($class)
{
$file = str_replace('_', '/', $class).'.php';
require_once $file;
}
$sendToEmail = ""; //Will send form data to this email address.
$sendFromEmail = "no-reply@unl.edu"; //Will send email from this address.
$emailSubject = "Ribbon Cutting Proposal"; //Subject for the email.
spl_autoload_register('myautoload');
require_once '../../../lib/php/UNL/WDN/Emailer/Main.php';