]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/response/image/class_ImageResponse.php
Continued:
[core.git] / framework / main / classes / response / image / class_ImageResponse.php
index 75b3b1bace3804713f4127fdd4baab707662d272..d8531206d913a264a149401bba1db4a0cca795fb 100644 (file)
@@ -118,7 +118,7 @@ class ImageResponse extends BaseResponse implements Responseable {
                // Get all config entries
                if (is_null($expires)) {
                        $expires = (time() + FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('cookie_expire'));
-               } // END - if
+               }
 
                $path = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('cookie_path');
                $domain = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('cookie_domain');
@@ -152,7 +152,7 @@ class ImageResponse extends BaseResponse implements Responseable {
                if (headers_sent()) {
                        // Throw an exception here
                        throw new ResponseHeadersAlreadySentException($this, self::EXCEPTION_HEADERS_ALREADY_SENT);
-               } // END - if
+               }
 
                // Assign application data
                $this->getTemplateInstance()->assignApplicationData($applicationInstance);
@@ -170,7 +170,7 @@ class ImageResponse extends BaseResponse implements Responseable {
 
                        // No, then extend it with our base URL
                        $url = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('base_url') . '/' . $url;
-               } // END - if
+               }
 
                // Add redirect header
                $this->addHeader('Location', str_replace('&', '&', $url));
@@ -226,7 +226,7 @@ class ImageResponse extends BaseResponse implements Responseable {
 
                        // Remove it from array
                        unset($_COOKIE[$cookieName]);
-               } // END - if
+               }
        }
 
        /**
@@ -240,7 +240,7 @@ class ImageResponse extends BaseResponse implements Responseable {
                if (isset($_COOKIE[$cookieName])) {
                        // Update the cookie
                        $this->addCookie($cookieName, $_COOKIE[$cookieName], false);
-               } // END - if
+               }
        }
 
 }