For working on dev sites also
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 8 Apr 2015 18:45:15 +0000 (14:45 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 8 Apr 2015 18:45:15 +0000 (14:45 -0400)
this will be https if hte page is https

static/16.phtml

index d8bb39c..6942bbd 100644 (file)
@@ -4,7 +4,7 @@ if ($catid = filter_input(INPUT_GET, 'catid', FILTER_VALIDATE_INT)) {
         Toolkit_Database::getInstance(),
         'contact_form',
         'post',
-        BASE_SECURE_URL . "index.php?catid=$catid"
+        MEDIA_BASE_URL . "index.php?catid=$catid"
     );
     $cf->configureForm();
     $cf->useCaptcha(true);