Line 381 in /var/www/html/framework/control/HTTP.php
372 return; 373 } 374 375 // Warn if already assigned cache-control headers 376 if ($body && $body->getHeader('Cache-Control')) { 377 trigger_error( 378 'Cache-Control header has already been set. ' 379 . 'Please use HTTPCacheControl API to set caching options instead.', 380 E_USER_WARNING 381 ); 382 return; 383 } 384 385 $config = Config::inst()->forClass(__CLASS__); 386 387 // Get current cache control state