@ -3,10 +3,10 @@
require_once "../config.php";
set_include_path(get_include_path() . PATH_SEPARATOR .
dirname(__FILE__) . PATH_SEPARATOR .
set_include_path(dirname(__FILE__) . PATH_SEPARATOR .
dirname(dirname(__FILE__)) . PATH_SEPARATOR .
dirname(dirname(__FILE__)) . "/include" );
dirname(dirname(__FILE__)) . "/include" . PATH_SEPARATOR .
get_include_path());
chdir("..");
@ -1,6 +1,6 @@
<?php
dirname(__FILE__) . "/include");
set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
/* remove ill effects of magic quotes */
require_once "functions.php";
require_once "sessions.php";
require_once "config.php";
@ -5,8 +5,8 @@
exit;
}
dirname(__FILE__) ."/include");
define('DISABLE_SESSIONS', true);
@ -1,8 +1,8 @@
function __autoload($class) {
$file = "classes/".strtolower(basename($class)).".php";
@ -4,8 +4,8 @@
// 1) templates/register_notice.txt - displayed above the registration form
// 2) register_expire_do.php - contains user expiration queries when necessary
require_once 'lib/phpmailer/class.phpmailer.php';
@ -1,7 +1,7 @@
#!/usr/bin/env php
@ -1,10 +1,7 @@
// This is an experimental multiprocess update daemon.
// Some configurable variable may be found below.
declare(ticks = 1);
chdir(dirname(__FILE__));