aboutsummaryrefslogtreecommitdiffstats
path: root/admin/ws_checker.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-05-14 22:25:36 +0000
committerrub <rub@piwigo.org>2008-05-14 22:25:36 +0000
commit51491ab08f2be1c59439e049a20d7555ec0f918d (patch)
tree87fc14d1ba9b14beb3c908e1617ed3b8c46ce335 /admin/ws_checker.php
parent52797d017ee3f9542ba0b6c89edf59cfeffe6215 (diff)
Change some PhpWebGallery to Piwigo.
Not all PhpWebGallery has been translated! git-svn-id: http://piwigo.org/svn/trunk@2339 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/ws_checker.php')
-rw-r--r--admin/ws_checker.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/admin/ws_checker.php b/admin/ws_checker.php
index 00a2f68a4..7da8fac10 100644
--- a/admin/ws_checker.php
+++ b/admin/ws_checker.php
@@ -293,29 +293,29 @@ if ( $chk_partner !== '' )
$status_code = array();
preg_match('/\d\d\d/', $response, $status_code);
switch( $status_code[0] ) {
- case 200:
+ case 200:
$ws_status = l10n('Web Services under control');
- break;
- case 503:
- $ws_status = 'PhpWebGallery Web Services failed and returned an '
+ break;
+ case 503:
+ $ws_status = 'Piwigo Web Services failed and returned an '
. 'HTTP status of 503. Service is unavailable. An internal '
. 'problem prevented us from returning data to you.';
- break;
- case 403:
- $ws_status = 'PhpWebGallery Web Services failed and returned an '
+ break;
+ case 403:
+ $ws_status = 'Piwigo Web Services failed and returned an '
. 'HTTP status of 403. Access is forbidden. You do not have '
. 'permission to access this resource, or are over '
. 'your rate limit.';
- break;
- case 400:
- // You may want to fall through here and read the specific XML error
- $ws_status = 'PhpWebGallery Web Services failed and returned an '
+ break;
+ case 400:
+ // You may want to fall through here and read the specific XML error
+ $ws_status = 'Piwigo Web Services failed and returned an '
. 'HTTP status of 400. Bad request. The parameters passed '
. 'to the service did not match as expected. The exact '
. 'error is returned in the XML response.';
- break;
- default:
- $ws_status = 'PhpWebGallery Web Services returned an unexpected HTTP '
+ break;
+ default:
+ $ws_status = 'Piwigo Web Services returned an unexpected HTTP '
. 'status of:' . $status_code[0];
}
}