b374k
m1n1 1.01
Apache
Linux webd001.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
uid=2234(oyaide) gid=100(users) groups=100(users)
server ip : 213.186.33.18 | your ip : 216.73.216.109
safemode OFF
 >  / home / oyaide / www / moycompany.com / piwigo2 / themes / stripped / admin /
Filename/home/oyaide/www/moycompany.com/piwigo2/themes/stripped/admin/upgrade.inc.php
Size3.19 kb
Permissionrw----r--
Owneroyaide : users
Create time11-Mar-2016 17:18
Last modified12-Nov-2014 13:48
Last accessed12-Nov-2014 13:48
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php

if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');

global $prefixeTable, $conf, $stripped;

if (!isset($conf['stripped']))
{
$config = array(
'paramVersion' => '2.3',

'themeStyle' => 'black',
'hideMenu' => true,
'animatedMenu' => true,
'noLowercase' => false,
'albumType' => 'small',
'albumFrame' => true,
'thumbFrame' => true,
'showThumbLegend' => false,

'showTitleOnBrowsePath' => false,
'imageFrame' => true,
'imageCaption' => 'title',
'imageArrows' => false,
'navArrows' => true,
'HDlightbox' => true,
'forceLightboxOn' => false,
'defaultZoomSize' => 'fit',
'animatedTabs' => true,
'infoTabAdminOnly' => false,
'defaultTab' => "none",

'albumSize' => "thumb",
'thumbSize' => "thumb",
'imageSize' => "medium",
'hdSize' => "xxlarge",

'imageAutosize' => true,
'imageAutosizeMargin' => 60,
'imageAutosizeMinHeight' => 200,

'imagePreload' => false,
'imagePreloadNb' => 5,
'imagePreloadThumbs' => false,
'imagePreloadHD' => false,

'marginContainer' => 30,
'paddingContainer' => 10,
'highResClickMode' => 'zoom',
'maxThumb' => 15,
);

conf_update_param('stripped', $config, true);
} else {

if (isset($stripped['animatedMenu']) & (!isset($stripped['themeStyle']))) {

$config = $stripped;
$config['themeStyle']='original';
$config['thumbFrame']=true;

if ($stripped['showDescriptionInsteadOfTitle']) {
$config['imageCaption']='description';
} else {
$config['imageCaption']='title';
}

$config['HDlightbox']=true;
$config['forceLightboxOn']=false;
$config['imageArrows']=true;
$config['navArrows']=false;
$config['paramVersion']='2.3';
$config['albumType']='small';
$config['albumFrame']=$config['thumbFrame'];
$config['albumSize']='thumb';
$config['thumbSize']='thumb';
$config['imageSize']='medium';
$config['hdSize']='xxlarge';

conf_update_param('stripped', $config, true);

} else {
if (isset($stripped['themeStyle']) & (!isset($stripped['paramVersion']))) {

$config = $stripped;
$config['paramVersion']='2.3';
$config['albumType']='small';
$config['albumFrame']=$config['thumbFrame'];
$config['albumSize']='thumb';
$config['thumbSize']='thumb';
$config['imageSize']='medium';
$config['hdSize']='xxlarge';
$config['HDlightbox']=true;
$config['forceLightboxOn']=false;

conf_update_param('stripped', $config, true);

} else {

if ($stripped['paramVersion'] == '2.1') {
$config = $stripped;
$config['paramVersion']='2.3';
$config['albumSize']='thumb';
$config['thumbSize']='thumb';
$config['imageSize']='medium';
$config['hdSize']='xxlarge';
$config['HDlightbox']=true;
$config['forceLightboxOn']=false;
conf_update_param('stripped', $config, true);
}

if ($stripped['paramVersion'] == '2.2') {
$config = $stripped;
$config['paramVersion']='2.3';
$config['HDlightbox']=true;
$config['forceLightboxOn']=false;
conf_update_param('stripped', $config, true);
}

}

}

}
?>