mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-27 21:56:50 +01:00
*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:
@@ -28,17 +28,17 @@ function ini_get_bool($a)
|
||||
|
||||
switch (strtolower($b))
|
||||
{
|
||||
case 'on':
|
||||
case 'yes':
|
||||
case 'true':
|
||||
return 'assert.active' !== $a;
|
||||
case 'on':
|
||||
case 'yes':
|
||||
case 'true':
|
||||
return 'assert.active' !== $a;
|
||||
|
||||
case 'stdout':
|
||||
case 'stderr':
|
||||
return 'display_errors' === $a;
|
||||
case 'stdout':
|
||||
case 'stderr':
|
||||
return 'display_errors' === $a;
|
||||
|
||||
default:
|
||||
return (bool) (int) $b;
|
||||
default:
|
||||
return (bool) (int) $b;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user