using new syntax for get_dirs

git-svn-id: http://piwigo.org/svn/branches/release-1_3@263 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-01-04 10:15:35 +00:00
parent 61f40a7eb4
commit 09da40f461
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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' );