~ubuntu-branches/ubuntu/trusty/fusionforge/trusty

« back to all changes in this revision

Viewing changes to www/users

  • Committer: Bazaar Package Importer
  • Author(s): Roland Mas
  • Date: 2011-04-15 14:55:34 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20110415145534-mvn1nochufjmw177
Tags: 5.0.3-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
require_once $gfwww.'include/pre.php';    
28
28
require_once $gfcommon.'include/User.class.php';    
29
29
 
30
 
$expl_pathinfo = explode('/', getStringFromServer('REQUEST_URI'));
 
30
$normalized_urlprefix = normalized_urlprefix();
 
31
$pathinfo = substr_replace(getStringFromServer('REQUEST_URI'), '', 0, strlen($normalized_urlprefix)-1);
 
32
$expl_pathinfo = explode('/', $pathinfo);
31
33
 
32
34
if (!$expl_pathinfo[2]) {
33
35
        exit_error(_('Error'),_('No User Name Provided'));