cvs: docweb /include lib_general.inc.php

From: Date: Thu, 11 Aug 2005 09:54:15 +0000
Subject: cvs: docweb /include lib_general.inc.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-799@lists.php.net to get a copy of this message
vincent Thu Aug 11 05:54:15 2005 EDT Modified files: /docweb/include lib_general.inc.php Log: The /user/username is a special redirect. This will allow switching project and language one every page, except the user proflie http://cvs.php.net/diff.php/docweb/include/lib_general.inc.php?r1=1.47&r2=1.48&ty=u Index: docweb/include/lib_general.inc.php diff -u docweb/include/lib_general.inc.php:1.47 docweb/include/lib_general.inc.php:1.48 --- docweb/include/lib_general.inc.php:1.47 Thu Aug 11 05:11:11 2005 +++ docweb/include/lib_general.inc.php Thu Aug 11 05:54:09 2005 @@ -18,7 +18,7 @@ | Gabor Hojtsy <goba@php.net> | | Sean Coates <sean@php.net> | +----------------------------------------------------------------------+ -$Id: lib_general.inc.php,v 1.47 2005/08/11 09:11:11 mazzanet Exp $ +$Id: lib_general.inc.php,v 1.48 2005/08/11 09:54:09 vincent Exp $ */ require_once dirname(__FILE__) . '/lib_auth.inc.php'; @@ -153,7 +153,7 @@ if (!isset($project)) { $project = SITE; } if (!isset($lang)) { $lang = LANGC; } if (!isset($path)) { $path = URI; } - if ($project != SITE) { $path = '/'; } + if ($path == '/users.php') { $path = '/'; } if ($path == '/index.php') { $path = '/'; } $ret = '/';

« previous php.doc.web (#799) next »