mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-06 18:12:22 +02:00
seek3r is a dope fix
This commit is contained in:
parent
ff2eb0bb36
commit
a0628a66bb
@ -57,7 +57,7 @@
|
||||
// You could redirect them to login.php with code 2 or use the default
|
||||
// I recommend using the default until all of the bugs are worked out.
|
||||
|
||||
function phpgw()
|
||||
function phpgw_()
|
||||
{
|
||||
global $phpgw_info, $sessionid, $login;
|
||||
/************************************************************************\
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$debugme = "on";
|
||||
//$debugme = "on";
|
||||
/**************************************************************************\
|
||||
* phpGroupWare API - phpgwapi loader *
|
||||
* This file written by Dan Kuykendall <seek3r@phpgroupware.org> *
|
||||
@ -150,7 +150,7 @@ print_debug('sane environment');
|
||||
}
|
||||
unset ($domain); // we kill this to save memory
|
||||
|
||||
print_debug('sane environment');
|
||||
print_debug('domain: '.$phpgw_info["user"]["domain"]);
|
||||
|
||||
//dont know where to put this (seek3r)
|
||||
/* Since LDAP will return system accounts, there are a few we don't want to login. */
|
||||
@ -183,7 +183,7 @@ print_debug('sane environment');
|
||||
\****************************************************************************/
|
||||
/* Load main class */
|
||||
$phpgw = CreateObject("phpgwapi.phpgw");
|
||||
|
||||
$phpgw->phpgw_();
|
||||
print_debug('main class loaded');
|
||||
|
||||
/* Fill phpgw_info["server"] array */
|
||||
@ -224,7 +224,7 @@ print_debug('main class loaded');
|
||||
exit;
|
||||
}
|
||||
|
||||
/* A few hacker proof constants that will be used throught the program */
|
||||
/* A few hacker resistant constants that will be used throught the program */
|
||||
|
||||
define("PHPGW_TEMPLATE_DIR",$phpgw->common->get_tpl_dir("phpgwapi"));
|
||||
define("PHPGW_IMAGES_DIR", $phpgw->common->get_image_path("phpgwapi"));
|
||||
|
Loading…
Reference in New Issue
Block a user