Deduplicate a bit
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// doublethink.cleverweb.cz
|
||||
session_start();
|
||||
// inicializace
|
||||
require './imagelightnessat.func.php';
|
||||
require './linear_perspective.class.php';
|
||||
require __DIR__ . '/imagelightnessat.func.php';
|
||||
require __DIR__ . '/linear_perspective.class.php';
|
||||
$perspective = new linear_perspective();
|
||||
|
||||
// konfigurace rozměrů a pozic
|
||||
@@ -23,7 +23,7 @@ $white = imagecolorexact($matrix, 255, 255, 255);
|
||||
imagefill($matrix, 0, 0, $white);
|
||||
|
||||
// font calibri neni kvůli licenčním podmínkám připojen, použijte jakýkoliv svůj
|
||||
imagefttext($matrix, 20, 0, 2, 25, $black, './3DCaptcha.ttf', $_SESSION['captcha']);
|
||||
imagefttext($matrix, 20, 0, 2, 25, $black, __DIR__ . '/3DCaptcha.ttf', $_SESSION['captcha']);
|
||||
|
||||
// výpočet bodů ve 3d
|
||||
$point = [];
|
||||
|
||||
Reference in New Issue
Block a user