first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
/**
* Funkcje pomocnicze
*
* @package stCaptchaGDPlugin
* @author Michal Prochowski <michal.prochowski@sote.pl>
* @copyright SOTE
* @license SOTE
* @version $Id: stCaptchaGDHelper.php 11 2009-08-24 09:33:22Z michal $
*/
/**
* Pobieranie obrazka z captchą
*
* @return string
*/
function get_captcha($imageWidth = '', $imageHeight = '')
{
if (empty($imageWidth)) $imageWidth = sfConfig::get('app_sf_captchagd_image_width', 100);
if (empty($imageHeight)) $imageHeight = sfConfig::get('app_sf_captchagd_image_height', 30);
return '<img src="'.url_for('@stcaptchaGDPlugin').'?width='.$imageWidth.'&height='.$imageHeight.'">';
}