// Only the login, password, and database variables need to be changed by replacing the capitolized words with the correct values.
//Login Name for MySQL.
$login = "helio_csus";
//$login = "fisica_host_ru";
//Password for MySQL.
$pass = "Q6td9/2017_09";
//MySQL Database name.
$db = "arik";
/*
***********************************
Nothing bewlow this notice
needs to be changed.
***********************************
*/
$host = "127.0.0.1"; //Host of MySQL - leave on localhost if you don't know
// Database Table Names - almost never need to be changed.
$conf['tbl']['grades'] = 'ds_grades';
$conf['tbl']['projecttable'] = 'ds_projecttable';
$conf['tbl']['studentwork'] = 'ds_studentwork';
$conf['tbl']['teachers'] = 'ds_teachers';
$conf['tbl']['menupage'] = 'ds_menupage';
$conf['tbl']['bodypage'] = 'ds_bodypage';
$conf['tbl']['laboratorios'] = 'ds_laboratorios';
$conf['tbl']['homework'] = 'ds_homework';
$conf['tbl']['galeria'] = 'ds_galeria';
$conf['tbl']['projecthomework'] = 'ds_projecthomework';
$conf['tbl']['humor'] = 'ds_humor';
$conf['tbl']['announcements'] = 'ds_announcements';
$conf['tbl']['articles'] = 'ds_articles';
$conf['tbl']['semestre'] = 'ds_semestre';
$conf['tbl']['depto'] = 'ds_depto';
$conf['tbl']['vincul'] = 'ds_vincul';
$conf['tbl']['escolaridad'] = 'ds_escolaridad';
$conf['tbl']['sede'] = 'ds_sede';
$conf['tbl']['teach_dir'] = 'ds_teach_dir';
$conf['tbl']['comment'] = 'ds_comment';
//directorio de KOOLPHP
$KoolControlsFolder="/dfmg/teacher/KoolPHPSuite/KoolControls";
//takes out slashes if if the magic quotes are on.
function deslash($string)
{
if (get_magic_quotes_gpc())
$string = stripslashes($string);
return $string;
}
//adds slashes if the magic quotes is off.
function addslash($string)
{
if (!get_magic_quotes_gpc())
$string = addslashes($string);
return $string;
}
error_reporting(E_ALL ^ E_NOTICE); // Disable reports of notices
?>
Fallo al conectar a MySQL: (2002) Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
página de entradaFisica.Ru - Tu sitio Web de fisica