fix: help button was not working in the site manager
fix: incorrect session deletion in maintenance.php git-svn-id: http://piwigo.org/svn/trunk@1080 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
77aa54a32b
commit
1d22950cf6
4 changed files with 14 additions and 18 deletions
|
@ -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 |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
|
|
@ -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') )
|
||||
) );
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<h2>Remote site</h2>
|
||||
<h2>Remote sites</h2>
|
||||
|
||||
<p>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.</p>
|
|||
this website) by ftp. For the example, let's say that you can access <span
|
||||
class="filename">http://example.com/galleries/create_listing_file.php</span>.</li>
|
||||
|
||||
<li>go to <span class="pwgScreen">administration panel, General, Remote
|
||||
sites</span>. Ask to create a new site, for example <span
|
||||
<li>go to <span class="pwgScreen">administration panel, General, Site
|
||||
manager</span>. Ask to create a new site, for example <span
|
||||
class="filename">http://example.com/galleries</span>.</li>
|
||||
|
||||
<li>a new remote site is registered. You can perform 4 actions :
|
||||
|
@ -29,7 +29,7 @@ be shown.</p>
|
|||
<li><strong>generate listing</strong> : launches a distant request to
|
||||
generate a distant file listing</li>
|
||||
|
||||
<li><strong>update</strong> : reads the distant <span
|
||||
<li><strong>synchronize</strong> : reads the distant <span
|
||||
class="filename">listing.xml</span> file and synchronizes with
|
||||
database informations.</li>
|
||||
|
||||
|
@ -43,9 +43,9 @@ be shown.</p>
|
|||
</li>
|
||||
</ol>
|
||||
|
||||
<p>You can do all this by hand by generating yourself the <span
|
||||
<!-- <p>You can do all this by hand by generating yourself the <span
|
||||
class="filename">listing.xml</span> 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.</p>
|
||||
listing.xml file.</p>-->
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@ cat
|
|||
ce site) par FTP. Par exemple, disons que vous pouvez accéder à <span
|
||||
class="filename">http://exemple.com/galleries/create_listing_file.php</span>.</li>
|
||||
|
||||
<li>Se rendre sur <span class="pwgScreen">Administration, Général, Sites
|
||||
distant</span>. Demander à créer un nouveau site, par exemple <span
|
||||
<li>Se rendre sur <span class="pwgScreen">Administration, Général,
|
||||
Gestionnaire des sites</span>. Demander à créer un nouveau site, par exemple <span
|
||||
class="filename">http://exemple.com/galleries</span>.</li>
|
||||
|
||||
<li>
|
||||
|
@ -33,7 +33,7 @@ class="filename">http://exemple.com/galleries</span>.</li>
|
|||
<li><strong>générer la liste</strong> : lance une requête distant pour
|
||||
générer le fichier de listing distant</li>
|
||||
|
||||
<li><strong>mettre à jour</strong> : lit le fichier distant <span
|
||||
<li><strong>synchroniser</strong> : lit le fichier distant <span
|
||||
class="filename">listing.xml</span> et synchronise avec la base de données
|
||||
locale</li>
|
||||
|
||||
|
@ -49,8 +49,8 @@ qui y sont associ
|
|||
|
||||
</ol>
|
||||
|
||||
<p>Vous pouvez également effectuer ces opérations manuellement en éditant
|
||||
<!--<p>Vous pouvez également effectuer ces opérations manuellement en éditant
|
||||
le fichier <span class="filename">listing.xml</span> à la main et en le
|
||||
déplaçant vers votre répertoire racine. Se rendre sur <span
|
||||
class="pwgScreen">Administration, Général, Sites distant</span> :
|
||||
PhpWebGallery détecte le fichier et propose de s'en servir.</p>
|
||||
PhpWebGallery détecte le fichier et propose de s'en servir.</p>-->
|
||||
|
|
Loading…
Add table
Reference in a new issue