diff --git a/admin/maintenance.php b/admin/maintenance.php index dcda4f401..0a5c3cd22 100644 --- a/admin/maintenance.php +++ b/admin/maintenance.php @@ -71,12 +71,7 @@ DELETE } case 'sessions' : { - $query = ' -DELETE - FROM '.SESSIONS_TABLE.' - WHERE expiration < NOW() -;'; - pwg_query($query); + pwg_session_gc(); break; } case 'feeds' : @@ -113,7 +108,7 @@ $template->assign_vars( 'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=maintenance', ) ); - + // +-----------------------------------------------------------------------+ // | sending html code | // +-----------------------------------------------------------------------+ diff --git a/admin/site_manager.php b/admin/site_manager.php index c12ecdc50..b1cfff58e 100644 --- a/admin/site_manager.php +++ b/admin/site_manager.php @@ -201,6 +201,7 @@ SELECT galleries_url } $template->assign_vars( array( + 'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=remote_site', 'F_ACTION' => PHPWG_ROOT_PATH.'admin.php' .get_query_string_diff( array('action','site') ) ) ); diff --git a/language/en_UK.iso-8859-1/help/remote_site.html b/language/en_UK.iso-8859-1/help/remote_site.html index 38cd8f370..5cb8b5081 100644 --- a/language/en_UK.iso-8859-1/help/remote_site.html +++ b/language/en_UK.iso-8859-1/help/remote_site.html @@ -1,4 +1,4 @@ -
PhpWebGallery offers the possibility to use several servers to store the images which will compose your gallery. It can be useful if your gallery is @@ -18,8 +18,8 @@ be shown.
this website) by ftp. For the example, let's say that you can access http://example.com/galleries/create_listing_file.php. -You can do all this by hand by generating yourself the You can do all this by hand by generating yourself the listing.xml file, moving it from your distant server to you local PhpWebGallery root directory and opening the remote site management screen : PhpWebGallery will propose you to use the found -listing.xml file.
+listing.xml file.--> diff --git a/language/fr_FR.iso-8859-1/help/remote_site.html b/language/fr_FR.iso-8859-1/help/remote_site.html index 8ee1fed10..fe83b7e6f 100644 --- a/language/fr_FR.iso-8859-1/help/remote_site.html +++ b/language/fr_FR.iso-8859-1/help/remote_site.html @@ -20,8 +20,8 @@ cat ce site) par FTP. Par exemple, disons que vous pouvez accéder à http://exemple.com/galleries/create_listing_file.php. -Vous pouvez également effectuer ces opérations manuellement en éditant +