diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-12-12 19:51:49 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-12-12 19:51:49 +0000 |
commit | 621177abc2bc60e9edb3ca723a4afaa9d9e713ef (patch) | |
tree | d6064f1fe767d042ea41e4adea88e57b8e5138ff /actions/imtest.php | |
parent | b40060fafaba46e2fb8800b2c2e557a8c6bde9db (diff) | |
download | elgg-621177abc2bc60e9edb3ca723a4afaa9d9e713ef.tar.gz elgg-621177abc2bc60e9edb3ca723a4afaa9d9e713ef.tar.bz2 |
convert line endings to Unix
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."; + } +?> |