aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-28 18:54:40 -0700
committerfriendica <info@friendica.com>2013-07-28 18:54:40 -0700
commit10f016841c612c6cef86cff91f45baea74c5d3d6 (patch)
tree1485f1e73e18f023fca6663bd8caa91df629da44
parentaa8bb996783bb6ced999fa126b53c49cb44e82bd (diff)
downloadvolse-hubzilla-10f016841c612c6cef86cff91f45baea74c5d3d6.tar.gz
volse-hubzilla-10f016841c612c6cef86cff91f45baea74c5d3d6.tar.bz2
volse-hubzilla-10f016841c612c6cef86cff91f45baea74c5d3d6.zip
cleaning up issues reported in logs
-rw-r--r--include/photo/photo_imagick.php4
-rw-r--r--mod/_well_known.php5
2 files changed, 2 insertions, 7 deletions
diff --git a/include/photo/photo_imagick.php b/include/photo/photo_imagick.php
index 2737c8f69..3f84fd06c 100644
--- a/include/photo/photo_imagick.php
+++ b/include/photo/photo_imagick.php
@@ -153,14 +153,14 @@ class photo_imagick extends photo_driver {
do {
$this->image->cropImage($w, $h, $x, $y);
/**
- * We need to remove the canva,
+ * We need to remove the canvas,
* or the image is not resized to the crop:
* http://php.net/manual/en/imagick.cropimage.php#97232
*/
$this->image->setImagePage(0, 0, 0, 0);
} while ($this->image->nextImage());
- $this->doScaleImage($max);
+ $this->doScaleImage($max,$max);
}
public function imageString() {
diff --git a/mod/_well_known.php b/mod/_well_known.php
index 184f75593..6e77336c3 100644
--- a/mod/_well_known.php
+++ b/mod/_well_known.php
@@ -4,11 +4,6 @@ function _well_known_init(&$a){
if(argc() > 1) {
switch(argv(1)) {
- case "host-meta":
- require_once('mod/hostxrd.php');
- hostxrd_init($a);
- break;
-
case 'zot-info':
$a->argc -= 1;
array_shift($a->argv);