Releases: idmarinas/lotgd-game
Releases · idmarinas/lotgd-game
2.5.1
2.5.0
CHANGES
- dragon.php Changed order of messages:
- First message of slayed Dragon.
- First message of flawless fight
- clan.php The form for create new clan are now in template system
semantic/src/themes/jade/assets/templates/pages/clan/new.twig
. - rawsql.php Now when execute a PHP or SQL code catch error and show it
- lib/settings.class.php
- All functions are now public explicitly
- It is forced to save the configuration in the cache, to reduce the load of the database.
- Optimized for better performance
- lib/datacache.php When
getdatacache
is used, check that$duration
is a numeric value and greater than 0 - lib/dbwrapper.php Functions
DB::select
,DB::update
,DB::insert
,DB::delete
can support two params:$table
and$prefixed
, the second param is used for indicate whether you want that table name need prefixed or no, default isTRUE
- lib/template.php Class
LotgdTemplate
, change function__construct(array $loader = [], array $options = [])
, now can passloaders
andoptions
for your extend class in your modules - lib/output.php Use
class="center aligned"
to center text with code ``c` - lib/about/about_listmodules.php Now use Twig template for show table
- lib/battle/functions.php Change order of messages:
- First name of creature and them creature die text
- First gems reward and them gold
- Message of flawless fight always at the end
- lib/modules.php Now settings of a modules is forced to use data cache
- THEME
- Updated Semantic UI version 2.2.10 => 2.2.14
- The
*.variables
files in theJade
theme have only the variables that have been changed. - Change text color element -> divider
FEATURES
- lib/template.php
- Added new filter to templates
colorize
is an alias ofappoencode
- Added new function to templates
isValidProtocol
check if a url string have a valid protocolhttp, https, ftp, fpts
- Added new filter to templates
- lib/settings.class.php Added new function for get all settings of game
getAllSettings()
DEPRECATED
- Nothing
REMOVES
- errorhandling.php Removed file
magic_quotes_gpc
is DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0
- http.php It is removed from numerous files, common.php already includes this file
FIXES
- common.php Fixed error with undefined index
- pvp.php Fixed error with name of required file, deleted unnecesary space
- stables.php Fixed error with undefined index
- train.php Fixed error with undefined index
- login.php Fixed posible error with blank
restorepage
- lib/events.php Fixed error with index and variable undefined
- lib/checkban.php Fixed error with undefined index/variable
- lib/settings.class.php Fixed error in the function
saveSetting
, did not save the new data in the BD. - lib/about/about_listmodules.php Fixed an error that did not show links to downloads of the modules
- lib/configuration/configuration_cronjob.php Fixed error of badnav when activate/desactivate cronjob
- lib/mail/{case_read.php, case_write.php} Fixed error for not un-quotes a quoted string of "subject" and "body" of messages.
- lib/battle/extended.php Fixed error with undefined index
- lib/graveyard/case_question.php Fixed error with undefined variable
NOTES
- Add .eslintignore file for ignore files in semantic/ folder. These files are maintained by Semantic UI
- lib/dbwrapper.php Documented function
DB::query
- package.json Updated dependencies
- Gulp tasks Added a new
composer
task, removes all PHP dependencies that are only used in a development environment and also optimizes the "autoloader", when use build appgulp --env production