diff options
Diffstat (limited to 'actions/imtest.php')
-rw-r--r-- | actions/imtest.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/actions/imtest.php b/actions/imtest.php index 8d5171785..cbe15a1c1 100644 --- a/actions/imtest.php +++ b/actions/imtest.php @@ -1,19 +1,19 @@ -<?php
- /**
- * Tidypics ImageMagick Location Test
- *
- * Called through ajax
- */
-
- $location = $_GET['location'];
-
- $command = $location . "convert -version";
-
- $result = system($command, $return_val);
-
- if ($return_val == 0) {
- echo $result;
- } else {
- echo "Unable to run ImageMagick. Please check the path.";
- }
-?>
+<?php + /** + * Tidypics ImageMagick Location Test + * + * Called through ajax + */ + + $location = $_GET['location']; + + $command = $location . "convert -version"; + + $result = system($command, $return_val); + + if ($return_val == 0) { + echo $result; + } else { + echo "Unable to run ImageMagick. Please check the path."; + } +?> |