- /fws/error/handler.php in line 204
[ Method: FWS_Error_Handler::get_error_message() ]
0199 // note that this means that nobody should set error-reporting to 0 because otherwise
0200 // we would log no error
0201 if($no > 0 && (error_reporting() & $no) == 0 || $this->_max_errors())
0202 return;
0203
0204 echo $this->get_error_message($no,$msg,$file,$line);
0205 $this->_error_count++;
0206 }
0207
0208 /**
0209 * Builds the error-message for the given error including backtrace, if possible.
0210 * Note that this method logs the error, too!
- /fws/gd/image.php in line 368
[ Method: FWS_Error_Handler::handle_error() ]
0363 for($i = 0,$end = ($h * $mult);$i < $end;$i += 2)
0364 {
0365 imagecopy(
0366 $img2,
0367 $img2,
0368 $x + sin($i / $rperiod) * $amplitude,
0369 $y + $i - 2,
0370 $x,
0371 $y + $i,
0372 $w * $mult,
0373 2
0374 );
- /fws/gd/captcha.php in line 931
[ Method: FWS_GD_Image::wave_region() ]
0926 if($this->_use_waves)
0927 {
0928 // now add some waves to the image :)
0929 $this->_img->wave_region(
0930 $this->_img->get_bounds_rect(),$this->_wave_amplitude,$this->_wave_period
0931 );
0932 }
0933
0934 // draw border
0935 $rect = new FWS_GD_Rectangle(0,0,$this->_width - 1,$this->_height - 1);
0936 $bordercolor = FWS_GD_Color::$DARK_GRAY;
0937 $this->_g->get_rect_view($rect)->draw($bordercolor);
- /front/module/security_code/module.php in line 68
[ Method: FWS_GD_Captcha::create_image() ]
0063 */
0064 $captcha->set_number_of_chars(9);
0065 $captcha->set_size(720,100);
0066 $captcha->set_wave(true,3,3);
0067
0068 $captcha->create_image();
0069
0070 $renderer = $doc->use_gdimage_renderer();
0071 $renderer->set_image($captcha->get_image());
0072
0073 $user->set_session_data('security_code',$captcha->get_chars());
0074 }
- /fws/document/renderer/gdimage.php in line 112
[ Method: BS_Front_Module_security_code::run() ]
0107 public function render($doc)
0108 {
0109 $msgs = FWS_Props::get()->msgs();
0110
0111 // run the module
0112 $doc->get_module()->run();
0113
0114 // any msgs?
0115 if($msgs->contains_msg())
0116 $this->handle_msgs($msgs);
0117
0118 if($this->_image === null)
- /fws/document.php in line 458
[ Method: FWS_Document_Renderer_GDImage::render() ]
0453
0454 if($this->_renderer === null)
0455 FWS_Helper::error('Please specify the renderer that should be used!');
0456
0457 // render the document
0458 $res = $this->_renderer->render($this);
0459
0460 // send header and return result
0461 $this->_send_header();
0462 $this->finish();
0463
0464 // use gzip, if required
- /index.php in line 86
[ Method: FWS_Document::render() ]
0081 include_once(BS_PATH.'src/init.php');
0082
0083 // show the page
0084 $doc = new BS_Front_Document();
0085 FWS_Props::get()->set_doc($doc);
0086 echo $doc->render();
0087 ?>
- /standalone.php in line 29
[ Function: include() ]
0024
0025 // We can simply include the index.php since we just want to ensure that boardsolution
0026 // will be shown exclusivly. That means if somebody includes the index.php this will not affect
0027 // standalone-modules.
0028 define('BS_PATH','');
0029 include('index.php');
0030 ?>