diff options
author | gweltas <gweltas@piwigo.org> | 2004-02-07 19:36:44 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-02-07 19:36:44 +0000 |
commit | e712c4aef84d5ac73e55f904a8922064f63f90a3 (patch) | |
tree | cd1e96611a95b286539b6c35497499415e3e72b0 /profile.php | |
parent | 3ae73d950e6f13c10516b2a4580084454073446f (diff) |
Migration of common.php in the include directory to fit the new coding rules
git-svn-id: http://piwigo.org/svn/trunk@354 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'profile.php')
-rw-r--r-- | profile.php | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/profile.php b/profile.php index 3b27d57cb..d1d8977ee 100644 --- a/profile.php +++ b/profile.php @@ -1,10 +1,9 @@ <?php // +-----------------------------------------------------------------------+ -// | profile.php | +// | profile.php | // +-----------------------------------------------------------------------+ // | application : PhpWebGallery <http://phpwebgallery.net> | -// | branch : 1.4 | -// | author : Pierrick LE GALL <pierrick@z0rglub.com> | +// | branch : 1.4 | // +-----------------------------------------------------------------------+ // | file : $RCSfile$ // | last update : $Date$ @@ -13,13 +12,23 @@ // +-----------------------------------------------------------------------+ // | This program is free software; you can redistribute it and/or modify | // | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation; | +// | the Free Software Foundation | +// | | +// | This program is distributed in the hope that it will be useful, but | +// | WITHOUT ANY WARRANTY; without even the implied warranty of | +// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | +// | General Public License for more details. | +// | | +// | You should have received a copy of the GNU General Public License | +// | along with this program; if not, write to the Free Software | +// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | +// | USA. | // +-----------------------------------------------------------------------+ // customize appearance of the site for a user //----------------------------------------------------------- include $phpwg_root_path = './'; -include_once( $phpwg_root_path.'common.php' ); +include_once( $phpwg_root_path.'include/common.inc.php' ); //-------------------------------------------------- access authorization check check_login_authorization(); if ( $user['is_the_guest'] ) |