From 09da40f46184fb53b44c4b304d786d3e343d35f9 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sun, 4 Jan 2004 10:15:35 +0000 Subject: [PATCH] using new syntax for get_dirs git-svn-id: http://piwigo.org/svn/branches/release-1_3@263 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/configuration.php | 2 +- profile.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/configuration.php b/admin/configuration.php index 4cf7ad347..69c0fb4fb 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -652,7 +652,7 @@ $vtp->addSession( $sub, 'param_line' ); $vtp->setVar( $sub, 'param_line.name', $lang['customize_theme'] ); $vtp->addSession( $sub, 'select' ); $vtp->setVar( $sub, 'select.name', 'template' ); -$option = get_dirs( '../template/' ); +$option = get_dirs( '../template' ); for ( $i = 0; $i < sizeof( $option ); $i++ ) { $vtp->addSession( $sub, 'option' ); diff --git a/profile.php b/profile.php index 3c19adf5b..3254b727a 100644 --- a/profile.php +++ b/profile.php @@ -201,7 +201,7 @@ if ( in_array( 'template', $infos ) ) $vtp->setVar( $handle, 'line.name', $lang['customize_template'] ); $vtp->addSession( $handle, 'select' ); $vtp->setVar( $handle, 'select.name', 'template' ); - $option = get_dirs( './template/' ); + $option = get_dirs( './template' ); for ( $i = 0; $i < sizeof( $option ); $i++ ) { $vtp->addSession( $handle, 'option' );