mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
fix: php 5 errors and warnings
improve: put back update remote site from local listing.xml functionality (allow_url_fopen is false on several ISPs) git-svn-id: http://piwigo.org/svn/trunk@1107 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+5
-3
@@ -27,7 +27,6 @@
|
||||
|
||||
define('PHPWG_ROOT_PATH','./');
|
||||
include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
|
||||
include_once(PHPWG_ROOT_PATH.'include/functions_rate.inc.php');
|
||||
include(PHPWG_ROOT_PATH.'include/section_init.inc.php');
|
||||
|
||||
// Check Access and exit when user status is not ok
|
||||
@@ -165,6 +164,7 @@ UPDATE '.CATEGORIES_TABLE.'
|
||||
}
|
||||
case 'rate' :
|
||||
{
|
||||
include_once(PHPWG_ROOT_PATH.'include/functions_rate.inc.php');
|
||||
rate_picture($page['image_id'], $_GET['rate']);
|
||||
redirect($url_self);
|
||||
}
|
||||
@@ -756,8 +756,10 @@ if (isset($_GET['slideshow']))
|
||||
|
||||
include(PHPWG_ROOT_PATH.'include/picture_rate.inc.php');
|
||||
include(PHPWG_ROOT_PATH.'include/picture_comment.inc.php');
|
||||
include(PHPWG_ROOT_PATH.'include/picture_metadata.inc.php');
|
||||
|
||||
if ($metadata_showable and isset($_GET['metadata']))
|
||||
{
|
||||
include(PHPWG_ROOT_PATH.'include/picture_metadata.inc.php');
|
||||
}
|
||||
//------------------------------------------------------------ log informations
|
||||
pwg_log( 'picture', $title_img, $picture['current']['file'] );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user