aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-07-18 22:48:50 +0000
committerrub <rub@piwigo.org>2007-07-18 22:48:50 +0000
commitb879e1742485db53da3edad98be036791bfd1bbf (patch)
treee056e514016bec1c2b23911b05c5cc54e8580821 /admin/include/functions.php
parentec6395c91169af249bd31d8eb06e103413cff749 (diff)
Resolved issue 0000725: Check integrity
Replace actual test (exif) by a new dynamic system of check integrity. Anomalies are listed with automatic correction if it's possible. It's a proposition of new feature! git-svn-id: http://piwigo.org/svn/trunk@2065 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/functions.php')
-rw-r--r--admin/include/functions.php36
1 files changed, 0 insertions, 36 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 66deb5777..3614c0904 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -1952,42 +1952,6 @@ SELECT id,
}
/**
- * Check configuration and add notes on problem
- *
- * @param void
- * @return void
- */
-function check_conf()
-{
- global $conf, $header_notes;
- $count = 0;
-
- if (($conf['show_exif']) and (!function_exists('read_exif_data')))
- {
- $header_notes[] = sprintf(l10n('note_check_exif'), '$conf[\'show_exif\']');
- $count++;
- }
-
- if (($conf['use_exif']) and (!function_exists('read_exif_data')))
- {
- $header_notes[] = sprintf(l10n('note_check_exif'), '$conf[\'use_exif\']');
- $count++;
- }
-
- if ($count != 0)
- {
- $pwg_links = pwg_URL();
- $link_fmt = '<a href="%s" onclick="window.open(this.href, \'\'); return false;">%s</a>';
- $header_notes[] =
- sprintf
- (
- l10n('note_check_more_info'),
- sprintf($link_fmt, $pwg_links['FORUM'], l10n('note_check_more_info_forum')),
- sprintf($link_fmt, $pwg_links['WIKI'], l10n('note_check_more_info_wiki'))
- );
- }
-}
-/**
* Refer main PhpWebGallery URLs (currently PHPWG_DOMAIN domain)
*
* @param void