<?php
if (!$gallery) { 
        $gallery = new stdClass(); 
}
if (!$gallery->app) { 
        $gallery->app = new stdClass(); 
}

/* Version */ 
$gallery->version = "1.2.52J";
$gallery->url = "http://www.sciox.org/xoops/";
$gallery->app->config_version = 31; 
$gallery->album_version = 6;
  
/* Features */ 
$gallery->app->feature["zip"] = 1;
$gallery->app->feature["rewrite"] = 0; // (missing <i>GALLERY_REWRITE_OK</i> -- it's optional)
$gallery->app->feature["mirror"] = 0; // (missing <i>mirrorSites</i> -- it's optional)

/* Constants */  
$gallery->app->galleryTitle = "¥®¥ã¥é¥ê¡¼";  
$gallery->app->pnmDir = $xoopsModuleConfig['pnmDir'];  
$gallery->app->ImPath = $xoopsModuleConfig['ImPath']; 
$gallery->app->graphics = $xoopsModuleConfig['graphics'];
$gallery->app->albumDir = XOOPS_ROOT_PATH.'/modules/xoopsgallery/cache/albums';  
$gallery->app->tmpDir = XOOPS_ROOT_PATH.'/modules/xoopsgallery/cache/tmp';  
$gallery->app->photoAlbumURL = XOOPS_URL.'/modules/xoopsgallery';  
$gallery->app->albumDirURL = XOOPS_URL.'/modules/xoopsgallery/cache/albums';  

$gallery->app->highlight_size = $xoopsModuleConfig['highlight_size'];  

$gallery->app->movieThumbnail = XOOPS_ROOT_PATH.'/modules/xoopsgallery/images/movie.thumb.jpg';  

// optional mirrorSites missing 
$gallery->app->showAlbumTree = $xoopsModuleConfig['showAlbumTree'] ? 'yes' : 'no';  
$gallery->app->use_exif = @file_exists($xoopsModuleConfig['exifPath']) ? $xoopsModuleConfig['exifPath'] : no;
$gallery->app->cacheExif = $xoopsModuleConfig['exifCache'] ? 'yes' : 'no';
$gallery->app->jpegImageQuality = $xoopsModuleConfig['jpegImageQuality'];  
$gallery->app->timeLimit = $xoopsModuleConfig['operationTimeLimit'];  
$gallery->app->debug = $xoopsModuleConfig['debug'] ? 'yes' : 'no';    
$gallery->app->use_flock = $xoopsModuleConfig['use_flock'] ? 'yes' : 'no';    
$gallery->app->expectedExecStatus = "0";  
$gallery->app->sessionVar = "gallery_session";  
$gallery->app->userDir = XOOPS_ROOT_PATH.'/modules/xoopsgallery/cache/albums/.users';  
$gallery->app->pnmtojpeg = "ppmtojpeg";  
  
/* Defaults */  
$gallery->app->default["bordercolor"] = "black";  
$gallery->app->default["border"] = "1";  
$gallery->app->default["font"] = "arial";  
$gallery->app->default["cols"] = $xoopsModuleConfig['cols'];  
$gallery->app->default["rows"] = $xoopsModuleConfig['rows'];  
$gallery->app->default["thumb_size"] = $xoopsModuleConfig['thumb_size'];  
$gallery->app->default["resize_size"] = $xoopsModuleConfig['resize_size']; 
$gallery->app->default["fit_to_window"] = $xoopsModuleConfig['fit_to_window'] ? 'yes' : 'no';  
$gallery->app->default["use_fullOnly"] = $xoopsModuleConfig['use_fullOnly'] ? 'yes' : 'no';    
$gallery->app->default["print_photos"] = $xoopsModuleConfig['print_photos']; 
$gallery->app->default["returnto"] = $xoopsModuleConfig['returnto'] ? 'yes' : 'no';    
$gallery->app->default["showOwners"] = $xoopsModuleConfig['showOwners'] ? 'yes' : 'no';    
$gallery->app->default["albumsPerPage"] = $xoopsModuleConfig['albumsPerPage'];  
$gallery->app->default["showSearchEngine"] = $xoopsModuleConfig['showSearchEngine'] ? 'yes' : 'no';    
$gallery->app->default["useOriginalFileNames"] = $xoopsModuleConfig['useOriginalFileNames'] ? 'yes' : 'no';    
$gallery->app->default["display_clicks"] = $xoopsModuleConfig['display_clicks'] ? 'yes' : 'no';

$gallery->app->default["public_comments"] = "yes";  


?>