MODPATH/coffee/classes/Marlin/Coffee.php [ 485 ]
480 // Search engines
481 'Search engine or robot' => '(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(msnbot)|(Ask Jeeves/Teoma)|(ia_archiver)'
482 );
483
484 foreach($oses as $os=>$pattern){
485 if(preg_match("/$pattern/i", $userAgent)) {
486 return $os;
487 }
488 }
489 return 'Unknown';
490 }
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(34) "preg_match(): Unknown modifier '8'"
2
string(73) "/var/www2/avelichko.com/WebPages/modules/coffee/classes/Marlin/Coffee.php"
3
integer 485
4
array(4) ( "userAgent" => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" "oses" => array(67) ( "Android" => string(9) "(Android)" "iPod" => string(6) "(iPod)" "iPhone" => string(8) "(iPhone)" "iPad" => string(6) "(iPad)" "Windows 3.11" => string(7) "(Win16)" "Windows 95" => string(33) "(Windows 95)|(Win95)|(Windows_95)" "Windows 98" => string(20) "(Windows 98)|(Win98)" "Windows 2000" => string(31) "(Windows NT 5.0)|(Windows 2000)" "Windows 2000 Service Pack 1" => string(17) "(Windows NT 5.01)" "Windows XP" => string(29) "(Windows NT 5.1)|(Windows XP)" "Windows Server 2003" => string(16) "(Windows NT 5.2)" "Windows Vista" => string(32) "(Windows NT 6.0)|(Windows Vista)" "Windows 7" => string(28) "(Windows NT 6.1)|(Windows 7)" "Windows 8" => string(28) "(Windows NT 6.2)|(Windows 8)" "Windows NT 4.0" => string(48) "(Windows NT 4.0)|(WinNT4.0)|(WinNT)|(Windows NT)" "Windows ME" => string(39) "(Windows ME)|(Windows 98; Win 9x 4.90 )" "Windows CE" => string(12) "(Windows CE)" "Mac OS X Kodiak (beta)" => string(15) "(Mac OS X beta)" "Mac OS X Cheetah" => string(15) "(Mac OS X 10.0)" "Mac OS X Puma" => string(15) "(Mac OS X 10.1)" "Mac OS X Jaguar" => string(15) "(Mac OS X 10.2)" "Mac OS X Panther" => string(15) "(Mac OS X 10.3)" "Mac OS X Tiger" => string(15) "(Mac OS X 10.4)" "Mac OS X Leopard" => string(15) "(Mac OS X 10.5)" "Mac OS X Snow Leopard" => string(15) "(Mac OS X 10.6)" "Mac OS X Lion" => string(15) "(Mac OS X 10.7)" "Mac OS X" => string(10) "(Mac OS X)" "Mac OS" => string(35) "(Mac_PowerPC)|(PowerPC)|(Macintosh)" "Open BSD" => string(9) "(OpenBSD)" "SunOS" => string(7) "(SunOS)" "Solaris 11" => string(25) "(Solaris\/11)|(Solaris11)" "Solaris 10" => string(27) "((Solaris\/10)|(Solaris10))" "Solaris 9" => string(25) "((Solaris\/9)|(Solaris9))" "CentOS" => string(8) "(CentOS)" "QNX" => string(5) "(QNX)" "UNIX" => string(6) "(UNIX)" "Ubuntu 12.10" => string(30) "(Ubuntu\/12.10)|(Ubuntu 12.10)" "Ubuntu 12.04 LTS" => string(30) "(Ubuntu\/12.04)|(Ubuntu 12.04)" "Ubuntu 11.10" => string(30) "(Ubuntu\/11.10)|(Ubuntu 11.10)" "Ubuntu 11.04" => string(30) "(Ubuntu\/11.04)|(Ubuntu 11.04)" "Ubuntu 10.10" => string(30) "(Ubuntu\/10.10)|(Ubuntu 10.10)" "Ubuntu 10.04 LTS" => string(30) "(Ubuntu\/10.04)|(Ubuntu 10.04)" "Ubuntu 9.10" => string(28) "(Ubuntu\/9.10)|(Ubuntu 9.10)" "Ubuntu 9.04" => string(28) "(Ubuntu\/9.04)|(Ubuntu 9.04)" "Ubuntu 8.10" => string(28) "(Ubuntu\/8.10)|(Ubuntu 8.10)" "Ubuntu 8.04 LTS" => string(28) "(Ubuntu\/8.04)|(Ubuntu 8.04)" "Ubuntu 6.06 LTS" => string(28) "(Ubuntu\/6.06)|(Ubuntu 6.06)" "Red Hat Linux" => string(9) "(Red Hat)" "Red Hat Enterprise Linux" => string(20) "(Red Hat Enterprise)" "Fedora 17" => string(24) "(Fedora\/17)|(Fedora 17)" "Fedora 16" => string(24) "(Fedora\/16)|(Fedora 16)" "Fedora 15" => string(24) "(Fedora\/15)|(Fedora 15)" "Fedora 14" => string(24) "(Fedora\/14)|(Fedora 14)" "Chromium OS" => string(12) "(ChromiumOS)" "Google Chrome OS" => string(10) "(ChromeOS)" "Linux" => string(13) "(Linux)|(X11)" "OpenBSD" => string(9) "(OpenBSD)" "FreeBSD" => string(9) "(FreeBSD)" "NetBSD" => string(8) "(NetBSD)" "OS/8" => string(12) "(OS/8)|(OS8)" "Older DEC OS" => string(22) "(DEC)|(RSTS)|(RSTS\/E)" "WPS-8" => string(14) "(WPS-8)|(WPS8)" "BeOS" => string(16) "(BeOS)|(BeOS r5)" "BeIA" => string(6) "(BeIA)" "OS/2 2.0" => string(21) "(OS\/220)|(OS\/2 2.0)" "OS/2" => string(13) "(OS\/2)|(OS2)" "Search engine or robot" => string(89) "(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(msnbot)|(Ask Jeeves/Teoma)|(ia_archiver)" ) "os" => string(4) "OS/8" "pattern" => string(12) "(OS/8)|(OS8)" )
-
MODPATH/coffee/classes/Marlin/Coffee.php [ 485 ] » preg_match(arguments)
pattern
string(15) "/(OS/8)|(OS8)/i"
subject
string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
480 // Search engines 481 'Search engine or robot' => '(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(msnbot)|(Ask Jeeves/Teoma)|(ia_archiver)' 482 ); 483 484 foreach($oses as $os=>$pattern){ 485 if(preg_match("/$pattern/i", $userAgent)) { 486 return $os; 487 } 488 } 489 return 'Unknown'; 490 }
-
APPPATH/views/corporate/layout/first/styles.php [ 32 ] » Marlin_Coffee::getOS(arguments)
0
string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
27 <link href="/css/fullscreen-menu.css" rel="stylesheet"> 28 <link href="/css/sidebarEffects.css" rel="stylesheet"> 29 <link href="/css/iconmoon.css" rel="stylesheet"> 30 31 <?php if( 32 Coffee::getOS($_SERVER['HTTP_USER_AGENT'])=='Android'|| 33 Coffee::getOS($_SERVER['HTTP_USER_AGENT'])=='iPod'|| 34 Coffee::getOS($_SERVER['HTTP_USER_AGENT'])=='iPhone'|| 35 Coffee::getOS($_SERVER['HTTP_USER_AGENT'])=='iPad' 36 ):?> 37
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(84) "/var/www2/avelichko.com/WebPages/application/views/corporate/layout/first/styles.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0
string(84) "/var/www2/avelichko.com/WebPages/application/views/corporate/layout/first/styles.php"
1
array(0)
343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 }
-
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 /** 233 * Display the exception message.
-
APPPATH/classes/Helpers/Template.php [ 32 ] » Kohana_View->__toString()
27 $display = ''; 28 $layout_path = App::$controller->layout_path; 29 $template = App::$controller->template_name; 30 31 if (Kohana::find_file('views', $layout_path.$template.'/'.$type) ){ 32 $display .= View::factory($layout_path.$template.'/'.$type); 33 } 34 else{ 35 $display .= View::factory($layout_path.'default/'.$type); 36 } 37
-
APPPATH/classes/Helpers/Template.php [ 21 ] » display(arguments)
type
string(6) "styles"
16 function get_scripts(){ 17 display('scripts'); 18 } 19 20 function get_styles(){ 21 display('styles'); 22 } 23 24 function display($type){ 25 if($type && in_array($type,array('styles','scripts','metatags'))){ 26
-
APPPATH/views/corporate/layout/first/template.php [ 9 ] » get_styles()
4 5 <head> 6 7 <?php echo get_metatags()?> 8 <meta name="p:domain_verify" content="85607fc5332eb437a97b2eb949b9f12e" /> 9 <?php echo get_styles()?> 10 <? include Kohana::find_file('views',$layout_path.'/inc/seo')?> 11 <?$google_verification = App::m('Constant')->get('google_verification');?> 12 <?if($google_verification!='' && $google_verification!='#'):?> 13 <meta name="google-site-verification" content="<?php echo $google_verification?>"/> 14 <?php endif?>
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(86) "/var/www2/avelichko.com/WebPages/application/views/corporate/layout/first/template.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0
string(86) "/var/www2/avelichko.com/WebPages/application/views/corporate/layout/first/template.php"
1
array(6) ( "area_top" => NULL "area_left" => NULL "area_center" => NULL "area_right" => NULL "area_bottom" => NULL "sOnLoad" => string(0) "" )
343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 }
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
APPPATH/classes/Controller/Base.php [ 147 ] » Kohana_Controller_Template->after()
142 $this->template->sOnLoad = "Core.showToastMessage('".$data['message']."', '".$data['title']."', '".$data['type']."');"; 143 }else{ 144 $this->template->sOnLoad = ''; 145 } 146 } 147 parent::after(); 148 } 149 150 /** 151 * Пагинация на странице 152 * @param unknown $aData
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Base->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Routes_Index(10)
{ public template_name => string(5) "first" protected _project_type => string(9) "corporate" public layout_path => string(17) "corporate/layout/" public styles => NULL public scripts => array(0) public metatags => NULL public template => object View(2)
{ protected _file => string(86) "/var/www2/avelichko.com/WebPages/application/views/corporate/layout/first/template.php" protected _data => array(6) ( "area_top" => NULL "area_left" => NULL "area_center" => NULL "area_right" => NULL "area_bottom" => NULL "sOnLoad" => string(0) "" ) }
public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(36) "(<lang>)(/)(<controller>(/<action>))" protected _regex => array(3) ( "lang" => string(10) "[a-z][a-z]" "controller" => string(5) "index" "action" => string(14) "[a-zA-Z0-9_-]+" ) protected _defaults => array(3) ( "directory" => string(6) "Routes" "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<lang>[a-z][a-z]))?(?:/)?(?:(?P<controller>index)(?:/(?P<action>[a-zA-Z0-9_-]+))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(6) "Routes" protected _controller => string(5) "Index" protected _action => string(5) "index" protected _uri => string(2) "ua" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "ua" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(36) "(<lang>)(/)(<controller>(/<action>))" protected _regex => array(3) ( "lang" => string(10) "[a-z][a-z]" "controller" => string(5) "index" "action" => string(14) "[a-zA-Z0-9_-]+" ) protected _defaults => array(3) ( "directory" => string(6) "Routes" "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<lang>[a-z][a-z]))?(?:/)?(?:(?P<controller>index)(?:/(?P<action>[a-zA-Z0-9_-]+))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(6) "Routes" protected _controller => string(5) "Index" protected _action => string(5) "index" protected _uri => string(2) "ua" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "ua" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(36) "(<lang>)(/)(<controller>(/<action>))" protected _regex => array(3) ( "lang" => string(10) "[a-z][a-z]" "controller" => string(5) "index" "action" => string(14) "[a-zA-Z0-9_-]+" ) protected _defaults => array(3) ( "directory" => string(6) "Routes" "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<lang>[a-z][a-z]))?(?:/)?(?:(?P<controller>index)(?:/(?P<action>[a-zA-Z0-9_-]+))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(6) "Routes" protected _controller => string(5) "Index" protected _action => string(5) "index" protected _uri => string(2) "ua" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "ua" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 126 ] » Kohana_Request->execute()
121 /** 122 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 123 * If no source is specified, the URI will be automatically detected. 124 */ 125 echo Request::factory(TRUE, array(), FALSE) 126 ->execute() 127 ->send_headers(TRUE) 128 ->body(); 129 }