Ah ! now I know what you're looking for to do.
Very well, create a PHP filename called :
maintenance_update.phpand add this little content in :
<?php
define('GET_CACHES', 1);
define('ROOT_PATH', './');
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
$user_access = get_permission();
if ($user_info['user_level'] == ADMIN) {
$sql = "
UPDATE ".SETTINGS_TABLE."
SET setting_value = '1'
WHERE setting_name = 'maintenance'
";
$result = $site_db->query($sql);
if ($result) {
echo "Field Updated Successfully.";
} else {
echo "Failed to update field.";
} ###### End of if statement.
} else {
show_error_page($lang['no_permission']);
} ###### End of if statement.
?>
Then, upload the PHP file to your 4images's root folder and execute the file.
Note: Make sure you login as ADMIN from your album before executing this file (for security reasons).