Version 4.5.0

This commit is contained in:
Neo committed 2025-12-19 05:51:58 -08:00
1 parent 1a0c7fd3c2
commit f79dcf067a
3791 files changed
+248032 -76372

No files matched your search

@@ -150,6 +150,21 @@
]
},
"12": {
"method": "addColumn",
"params": [
"core_groups",
{
"name": "g_download_original",
"type": "TINYINT",
"length": 1,
"null": false,
"default": 0,
"comment": "Can this group download the original image?",
"unsigned": true
}
]
},
"13": {
"method": "insert",
"params": [
"core_permission_index",
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_100002;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_100015;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
@@ -79,7 +79,7 @@ class _Upgrade
$update['album_sort_options'] = $_new;
}
if( count( $update ) )
if( \count( $update ) )
{
\IPS\Db::i()->update( 'gallery_albums', $update, 'album_id=' . $album['album_id'] );
}
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_100018;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_100025;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
Whitespace-only changes.
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_100028;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_100030;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_100035;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
Whitespace-only changes.
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_100042;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
@@ -56,7 +56,7 @@ class _Upgrade
$imageData = json_decode( $row['image_data'], TRUE );
$rebuild = false;
if ( is_array( $imageData ) )
if ( \is_array( $imageData ) )
{
foreach( $imageData as $size => $dimensions )
{
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_101000;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
@@ -55,7 +55,7 @@ class _Upgrade
$toRun = \IPS\core\Setup\Upgrade::runManualQueries( $toRunQueries );
if ( count( $toRun ) )
if ( \count( $toRun ) )
{
\IPS\core\Setup\Upgrade::adjustMultipleRedirect( array( 'extra' => array( '_upgradeStep' => 2 ) ) );
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_101006;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_101071;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
@@ -112,7 +112,7 @@ class _Upgrade
$columns[] = 'upload_thumbnail';
}
if( count( $columns ) )
if( \count( $columns ) )
{
\IPS\Db::i()->dropColumn( 'gallery_images_uploads', $columns );
}
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_102005;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_103000;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_103004;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
Whitespace-only changes.
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_103021;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
@@ -36,7 +36,7 @@ class _Upgrade
{
$classes = explode( ',', $group->g_delete_own_posts );
if( !in_array( 'IPS\gallery\Album\Item', $classes ) )
if( !\in_array( 'IPS\gallery\Album\Item', $classes ) )
{
$classes[] = 'IPS\gallery\Album\Item';
\IPS\Db::i()->update( 'core_groups', array( 'g_delete_own_posts' => implode( ',', $classes ) ), array( 'g_id=?', $group->g_id ) );
@@ -70,7 +70,7 @@ class _Upgrade
\IPS\Db::i()->update( 'core_groups', array( 'g_delete_own_posts' => implode( ',', $contentClasses ) ), array( 'g_id=?', $group->g_id ) );
}
elseif( !$group->g_delete_own_albums AND $group->g_delete_own_posts != 1 AND in_array( 'IPS\gallery\Album\Item', explode( ',', $group->g_delete_own_posts ) ) )
elseif( !$group->g_delete_own_albums AND $group->g_delete_own_posts != 1 AND \in_array( 'IPS\gallery\Album\Item', explode( ',', $group->g_delete_own_posts ) ) )
{
$classes = array_filter( explode( ',', $group->g_delete_own_posts ), function( $className ) {
return $className != 'IPS\gallery\Album\Item';
@@ -7,7 +7,7 @@
"album_sort_options": "updated"
},
[
"album_sort_options IS NULL"
"album_sort_options IS NULL OR album_sort_options=''"
]
]
}
Whitespace-only changes.
@@ -0,0 +1,17 @@
{
"1": {
"method": "addColumn",
"params": [
"core_groups",
{
"name": "g_download_original",
"type": "TINYINT",
"length": 1,
"null": false,
"default": 0,
"unsigned": true,
"comment": "Can this group download the original image?"
}
]
}
}
@@ -0,0 +1,112 @@
<?php
/**
* @brief 4.4.0 Beta 1 Upgrade Code
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @subpackage Gallery
* @since 12 Oct 2018
*/
namespace IPS\gallery\setup\upg_104000;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* 4.4.0 Beta 1 Upgrade Code
*/
class _Upgrade
{
/**
* Set the new "can download original images" column default value appropriately
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step1()
{
if( \IPS\Settings::i()->gallery_use_watermarks )
{
\IPS\Db::i()->update( 'core_groups', array( 'g_download_original' => \IPS\gallery\Image::DOWNLOAD_ORIGINAL_WATERMARKED ) );
}
else
{
\IPS\Db::i()->update( 'core_groups', array( 'g_download_original' => \IPS\gallery\Image::DOWNLOAD_ORIGINAL_RAW ) );
}
unset( \IPS\Data\Store::i()->groups );
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step1CustomTitle()
{
return "Setting new gallery group permissions";
}
/**
* Clean up orphaned club albums
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step2()
{
/* Build query WHERE clause */
$existingCategories = iterator_to_array( \IPS\Db::i()->select( 'category_id', 'gallery_categories' ) );
$where = array( \IPS\Db::i()->in( 'album_category_id', $existingCategories , TRUE) );
/* Do we even have any? Most won't */
if( !\IPS\Db::i()->select( 'COUNT(*)', 'gallery_albums', $where )->first() )
{
return TRUE;
}
/* Create a temporary category to place these albums in */
$category = new \IPS\gallery\Category;
$category->saveForm( $category->formatFormValues( array(
'category_name' => "Orphaned Albums",
'category_description' => "Temporary category holding orphaned albums which will be removed automatically",
'category_parent_id' => 0,
'category_sort_options' => 'updated',
'category_allow_albums' => 1
) ) );
$newCategoryId = $category->_id;
/* Loop over albums, move to the new category, and then add a bg task to delete the album */
foreach ( \IPS\Db::i()->select( 'album_id', 'gallery_albums', $where ) as $albumId )
{
/* "Move" the albums and images to the new category */
\IPS\Db::i()->update( 'gallery_albums', array( 'album_category_id' => $newCategoryId ), array( 'album_id=?', $albumId ) );
\IPS\Db::i()->update( 'gallery_images', array( 'image_category_id' => $newCategoryId ), array( 'image_album_id=?', $albumId ) );
/* Add the bg task */
\IPS\Task::queue( 'core', 'DeleteOrMoveContent', array( 'class' => 'IPS\gallery\Album', 'id' => $albumId, 'deleteWhenDone' => TRUE ), 4 );
}
/* And then add a bg task to delete our new category after the albums are deleted */
\IPS\Task::queue( 'core', 'DeleteOrMoveContent', array( 'class' => 'IPS\gallery\Category', 'id' => $newCategoryId, 'deleteWhenDone' => TRUE ), 5 );
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step2CustomTitle()
{
return "Removing orphaned albums";
}
}
@@ -0,0 +1,28 @@
{
"1": {
"method": "update",
"params": [
"core_reputation_index",
{
"type": "album_comment"
},
[
"rep_class=?",
"IPS\\gallery\\Image\\Comment"
]
]
},
"2": {
"method": "update",
"params": [
"core_reputation_index",
{
"type": "album_review"
},
[
"rep_class=?",
"IPS\\gallery\\Image\\Review"
]
]
}
}
@@ -0,0 +1,54 @@
{
"1": {
"method": "update",
"params": [
"core_reputation_index",
{
"type": "album_comment"
},
[
"rep_class=?",
"IPS\\gallery\\Album\\Comment"
]
]
},
"2": {
"method": "update",
"params": [
"core_reputation_index",
{
"type": "album_review"
},
[
"rep_class=?",
"IPS\\gallery\\Album\\Review"
]
]
},
"3": {
"method": "update",
"params": [
"core_reputation_index",
{
"type": "comment_id"
},
[
"rep_class=?",
"IPS\\gallery\\Image\\Comment"
]
]
},
"4": {
"method": "update",
"params": [
"core_reputation_index",
{
"type": "review_id"
},
[
"rep_class=?",
"IPS\\gallery\\Image\\Review"
]
]
}
}
@@ -0,0 +1,42 @@
<?php
/**
* @brief 4.4.4 Upgrade Code
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @subpackage Gallery
* @since 03 May 2019
*/
namespace IPS\gallery\setup\upg_104026;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* 4.4.4 Upgrade Code
*/
class _Upgrade
{
/**
* Rebuild search index
*
* @return void
*/
public function finish()
{
\IPS\Content\Search\Index::i()->removeApplicationContent( \IPS\Application::load('gallery') );
\IPS\Task::queue( 'core', 'RebuildSearchIndex', array( 'class' => 'IPS\gallery\Image' ), 5, TRUE );
\IPS\Task::queue( 'core', 'RebuildSearchIndex', array( 'class' => 'IPS\gallery\Image\Comment' ), 5, TRUE );
\IPS\Task::queue( 'core', 'RebuildSearchIndex', array( 'class' => 'IPS\gallery\Image\Review' ), 5, TRUE );
\IPS\Task::queue( 'core', 'RebuildSearchIndex', array( 'class' => 'IPS\gallery\Album\Item' ), 5, TRUE );
\IPS\Task::queue( 'core', 'RebuildSearchIndex', array( 'class' => 'IPS\gallery\Album\Comment' ), 5, TRUE );
\IPS\Task::queue( 'core', 'RebuildSearchIndex', array( 'class' => 'IPS\gallery\Album\Review' ), 5, TRUE );
}
}
@@ -0,0 +1,61 @@
{
"added": [
"app=gallery&module=gallery&controller=categories",
"app=gallery&module=gallery&controller=categories&do=form",
"app=gallery&module=gallery&controller=categories&searchResult=category_allow_comments",
"app=gallery&module=gallery&controller=categories&searchResult=category_approve_com",
"app=gallery&module=gallery&controller=categories&searchResult=category_can_tag",
"app=gallery&module=gallery&controller=categories&searchResult=category_sort_options",
"app=gallery&module=gallery&controller=categories&searchResult=category_tag_prefixes",
"app=gallery&module=gallery&controller=categories&searchResult=form_1_category_allow_albums",
"app=gallery&module=gallery&controller=categories&searchResult=form_1_category_allow_reviews",
"app=gallery&module=gallery&controller=categories&searchResult=form_1_category_approve_img",
"app=gallery&module=gallery&controller=categories&searchResult=form_1_category_description",
"app=gallery&module=gallery&controller=categories&searchResult=form_1_category_name",
"app=gallery&module=gallery&controller=categories&searchResult=form_1_category_show_rules",
"app=gallery&module=gallery&controller=categories&searchResult=form_1_gcategory_allow_rating",
"app=gallery&module=gallery&controller=categories&searchResult=form_1_gcategory_parent_id",
"app=gallery&module=gallery&controller=categories&searchResult=form_new_category_allow_albums",
"app=gallery&module=gallery&controller=categories&searchResult=form_new_category_allow_reviews",
"app=gallery&module=gallery&controller=categories&searchResult=form_new_category_approve_img",
"app=gallery&module=gallery&controller=categories&searchResult=form_new_category_description",
"app=gallery&module=gallery&controller=categories&searchResult=form_new_category_name",
"app=gallery&module=gallery&controller=categories&searchResult=form_new_category_show_rules",
"app=gallery&module=gallery&controller=categories&searchResult=form_new_gcategory_allow_rating",
"app=gallery&module=gallery&controller=categories&searchResult=form_new_gcategory_parent_id",
"app=gallery&module=gallery&controller=categories&searchResult=gallery_permission_custom_error",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_allow_comments",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_approve_com",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_can_tag",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_sort_options",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_tag_prefixes",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_allow_albums",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_allow_reviews",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_approve_img",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_description",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_name",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_show_rules",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_gcategory_allow_rating",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_gcategory_parent_id",
"app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=gallery_permission_custom_error",
"app=gallery&module=gallery&controller=settings",
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_bandwidth_period",
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_detailed_bandwidth",
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_large_dims",
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_medium_dims",
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_rss_enabled",
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_small_dims",
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_use_square_thumbnails",
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_use_watermarks",
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_watermark_path",
"app=gallery&module=stats&controller=bandwidth",
"app=gallery&module=stats&controller=diskspace",
"app=core&module=members&controller=members&searchResult=form_remove_gallery_access",
"app=core&module=members&controller=members&searchResult=remove_gallery_upload",
"app=core&module=members&controller=groups&searchResult=4_g_max_upload",
"app=core&module=members&controller=groups&searchResult=4_g_movies",
"app=core&module=members&controller=groups&searchResult=4_g_create_albums"
],
"edited": [],
"removed": []
}
@@ -0,0 +1,24 @@
{
"id": 105013,
"name": "4.5.0 Beta 1",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": true,
"settings": true,
"tasks": true,
"modules": true,
"widgets": true,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,18 @@
{
"files": {
"added": [],
"edited": [
"gallery\/front\/controllers\/submit\/ips.submit.chooseCategory.js",
"gallery\/front\/controllers\/submit\/ips.submit.wrapper.js",
"gallery\/front\/controllers\/view\/ips.view.note.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [
"global\/\/dev\/js\/\/library\/\/jquery"
],
"removed": []
}
}
@@ -0,0 +1,18 @@
{
"normal": {
"added": [
"__api_gallery_categories"
],
"edited": [
"image_auto_follow_suffix"
],
"removed": [
"gallery_rss_enabled_desc"
]
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,9 @@
{
"added": [
"admin\/gallery",
"admin\/stats",
"front\/gallery"
],
"edited": [],
"removed": []
}
@@ -0,0 +1,79 @@
{
"1": {
"method": "delete",
"params": [
"core_sys_lang_words",
[
"word_key=?",
"gallery_rss_enabled_desc"
]
]
},
"2": {
"method": "delete",
"params": [
"core_sys_lang_words",
[
"word_app=? and word_key=?",
"gallery",
"category_allow_rating"
]
]
},
"3": {
"method": "changeColumn",
"params": [
"gallery_images",
"image_meta_data",
{
"name": "image_meta_data",
"type": "TINYINT",
"length": 1,
"decimals": null,
"values": null,
"allow_null": false,
"default": "0",
"comment": "",
"unsigned": true,
"auto_increment": false
}
]
},
"4": {
"method": "changeColumn",
"params": [
"gallery_albums",
"album_meta_data",
{
"name": "album_meta_data",
"type": "TINYINT",
"length": 1,
"decimals": null,
"values": [],
"allow_null": true,
"default": "0",
"comment": "",
"unsigned": true,
"auto_increment": false
}
]
},
"5": {
"method": "addColumn",
"params": [
"gallery_images_uploads",
{
"name": "upload_exif",
"type": "MEDIUMTEXT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
}
]
}
}
@@ -0,0 +1,16 @@
{
"added": [
"gallery_bandwidth_period",
"gallery_detailed_bandwidth",
"gallery_large_dims",
"gallery_maps_default",
"gallery_rss_enabled",
"gallery_small_dims",
"gallery_use_square_thumbnails",
"gallery_use_watermarks",
"gallery_watermark_images",
"gallery_watermark_path"
],
"edited": [],
"removed": []
}
@@ -0,0 +1,8 @@
{
"added": [
"clearBandwidthLog",
"clearUploads"
],
"edited": [],
"removed": []
}
@@ -0,0 +1,59 @@
{
"html": {
"added": [],
"edited": [
"front\/browse\/album",
"front\/browse\/albumComments",
"front\/browse\/albumReviews",
"front\/browse\/albums",
"front\/browse\/category",
"front\/browse\/imageTable",
"front\/browse\/index",
"front\/forms\/commentTemplate",
"front\/forms\/reviewTemplate",
"front\/global\/comment",
"front\/global\/commentContainer",
"front\/global\/embedAlbumComment",
"front\/global\/embedAlbumReview",
"front\/global\/embedAlbums",
"front\/global\/embedImage",
"front\/global\/embedImageComment",
"front\/global\/embedImageReview",
"front\/global\/featuredComment",
"front\/global\/review",
"front\/global\/reviewContainer",
"front\/global\/searchResultAlbumSnippet",
"admin\/stats\/uploadersTable",
"front\/submit\/chooseCategory",
"front\/submit\/createAlbum",
"front\/submit\/existingAlbumForm",
"front\/submit\/postingInformation",
"front\/submit\/wrapper",
"front\/view\/comments",
"front\/view\/imageInfo",
"front\/view\/imageLightbox",
"front\/view\/imageLightboxInfo",
"front\/view\/reviews"
],
"removed": []
},
"css": {
"added": [
"front\/global.css"
],
"edited": [
"front\/embed.css",
"front\/gallery_responsive.css",
"front\/gallery.css",
"front\/profile.css",
"front\/submit.css",
"front\/widgets.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,11 @@
{
"added": [
"galleryStats",
"recentComments",
"imageFeed",
"recentImageReviews",
"albums"
],
"edited": [],
"removed": []
}
@@ -0,0 +1,24 @@
{
"id": 105014,
"name": "4.5.0 Beta 1",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105015,
"name": "4.5.0 Beta 2",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [],
"removed": []
},
"orders": {
"added": [],
"edited": [
"global\/\/dev\/js\/\/library\/\/jquery"
],
"removed": []
}
}
@@ -0,0 +1,25 @@
{
"html": {
"added": [],
"edited": [
"front\/browse\/album",
"front\/browse\/category"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/gallery_responsive.css",
"front\/gallery.css",
"front\/global.css",
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105016,
"name": "4.5.0 Beta 3",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,21 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/gallery_responsive.css",
"front\/gallery.css",
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105017,
"name": "4.5.0 Beta 4",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,21 @@
{
"html": {
"added": [],
"edited": [
"front\/global\/commentTableHeader"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105018,
"name": "4.5.0 Beta 4",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105019,
"name": "4.5.0 Beta 4",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105020,
"name": "4.5.0 Beta 4",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105021,
"name": "4.5.0 Beta 5",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,21 @@
{
"html": {
"added": [],
"edited": [
"front\/browse\/index"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105022,
"name": "4.5.0 Beta 6",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105023,
"name": "4.5.0 Beta 6",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105024,
"name": "4.5.0 Beta 7",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,22 @@
{
"html": {
"added": [],
"edited": [
"front\/browse\/album",
"front\/global\/searchResultImageSnippet"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105025,
"name": "4.5.0 Beta 8",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105026,
"name": "4.5.0 Beta 8",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105027,
"name": "4.5.0 Beta 8",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105028,
"name": "4.5.0 Beta 9",
"steps": {
"queries": false,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"normal": {
"added": [
"map_enabled_lightbox"
],
"edited": [],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,22 @@
{
"html": {
"added": [],
"edited": [
"front\/global\/review",
"front\/view\/imageLightboxInfo"
],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105029,
"name": "4.5.0 Beta 10",
"steps": {
"queries": false,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"normal": {
"added": [
"category_allow_albums_desc"
],
"edited": [],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105030,
"name": "4.5.0 Beta 11",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,14 @@
{
"files": {
"added": [],
"edited": [
"gallery\/front\/controllers\/submit\/ips.submit.wrapper.js"
],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,20 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css",
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105031,
"name": "4.5.0 Beta 11",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105032,
"name": "4.5.0 Beta 12",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -0,0 +1,24 @@
{
"id": 105100,
"name": "4.5.0",
"steps": {
"queries": false,
"lang": false,
"theme": true,
"themeSettings": false,
"javascript": false,
"emailTemplates": false,
"hooks": false,
"acpSearchKeywords": false,
"settings": false,
"tasks": false,
"modules": false,
"widgets": false,
"whatsnew": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
@@ -0,0 +1,19 @@
{
"html": {
"added": [],
"edited": [],
"removed": []
},
"css": {
"added": [],
"edited": [
"front\/global.css"
],
"removed": []
},
"resources": {
"added": [],
"edited": [],
"removed": []
}
}
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_40000;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
@@ -72,7 +72,7 @@ class _Upgrade
{
$oldParent = str_replace( 'parent-cat-', '', $album['album_g_rules'] );
if ( intval( $oldParent ) and $oldParent > 0 )
if ( \intval( $oldParent ) and $oldParent > 0 )
{
try
{
@@ -84,7 +84,7 @@ class _Upgrade
}
/* convert */
\IPS\Db::i()->update( 'gallery_albums_main', array( 'album_parent_id' => intval( $parent ) ), 'album_id=' . $album['album_id'] );
\IPS\Db::i()->update( 'gallery_albums_main', array( 'album_parent_id' => \intval( $parent ) ), 'album_id=' . $album['album_id'] );
}
}
@@ -102,7 +102,7 @@ class _Upgrade
{
$oldParent = str_replace( 'catid-', '', $album['album_cache'] );
\IPS\Db::i()->update( 'gallery_images', array( 'img_album_id' => intval( $album['album_id'] ) ), 'category_id=' . intval( $oldParent ) );
\IPS\Db::i()->update( 'gallery_images', array( 'img_album_id' => \intval( $album['album_id'] ) ), 'category_id=' . \intval( $oldParent ) );
}
return TRUE;
@@ -119,7 +119,7 @@ class _Upgrade
{
$oldParent = str_replace( 'cat-', '', $album['album_cache'] );
if ( intval( $oldParent ) and $oldParent > 0 )
if ( \intval( $oldParent ) and $oldParent > 0 )
{
try
{
@@ -131,8 +131,8 @@ class _Upgrade
}
/* convert */
\IPS\Db::i()->update( 'gallery_albums_main', array( 'album_parent_id' => intval( $parent ) ), 'album_id=' . $album['album_id'] );
\IPS\Db::i()->update( 'gallery_images', array( 'img_album_id' => intval( $parent ) ), 'category_id=' . intval( $oldParent ) );
\IPS\Db::i()->update( 'gallery_albums_main', array( 'album_parent_id' => \intval( $parent ) ), 'album_id=' . $album['album_id'] );
\IPS\Db::i()->update( 'gallery_images', array( 'img_album_id' => \intval( $parent ) ), 'category_id=' . \intval( $oldParent ) );
}
}
@@ -12,7 +12,7 @@
namespace IPS\gallery\setup\upg_40007;
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
Loaded 100 of 3791 files, more files were not shown because too many files have changed in this diff. Show more