*some fixes

* fixed installing samples when for example Rook Sample already exist and other samples not
* fixed some mysql error when character you trying to create already exist
* fixed signature fonts finding path
* removed DEFAULT '' for TEXT field. It didn't worked under some systems like MAC OS X.
* moved news adding at installation from schema.sql to finish.php
* removed some unused cities field from myaac_spells table
* some optimizations
This commit is contained in:
slawkens
2017-08-23 17:00:41 +02:00
parent 55e8507cac
commit 45f988c420
187 changed files with 2065 additions and 133 deletions

View File

@@ -1,8 +1,8 @@
<?php
defined('MYAAC') or die('Direct access not allowed!');
putenv('GDFONTPATH=' . dirname(__FILE__) . '/fonts');
putenv('GDFONTPATH=' . TOOLS . 'signature/fonts');
$font = "fonts/arialbd.ttf";
$font = "arialbd.ttf";
$fontsize = 8;
$name = stripslashes(ucwords(strtolower(trim($_REQUEST['name']))));