slawkens
11cb1cf97e
Save db cache only if it has changed
2025-12-18 11:53:06 +01:00
slawkens
08657c1599
Fix migration 47.php (convert IPs)
2025-10-31 15:25:55 +01:00
slawkens
8272f1373c
Fix database column info cache
2025-10-03 16:24:02 +02:00
slawkens
c898fe25ef
New function: getColumnInfo($table, $column)
2025-09-28 16:21:31 +02:00
slawkens
73c07d470d
Add variable types, don't use $config
2025-09-28 16:10:58 +02:00
slawkens
56bd7ec5ed
Prevent injection in $db->hasColumn
2025-09-28 16:09:14 +02:00
slawkens
82a533d88c
Add $db->hasTableAndColumns($table, $columns), credits to @opentibiabr Team
2025-04-18 18:12:56 +02:00
slawkens
1e6892971b
Change spaces to tabs
2024-11-19 07:03:06 +01:00
slawkens
8ae22accc9
Fix for console displaying REQUEST_URI
2024-11-18 23:49:26 +01:00
slawkens
87df817eae
Another way to clear database cache
2024-01-27 19:27:25 +01:00
slawkens
f7f46bae00
OK so that was that
2024-01-27 18:58:19 +01:00
slawkens
1a6fb8bee2
Refactoring classes into src/ folder, so they will be auto-loaded by composer
2024-01-27 00:36:49 +01:00
slawkens
c81861d8c8
debugbar dont like persistent connection
2023-11-11 14:40:10 +01:00
slawkens
c991e085d4
Add $_SERVER['REQUEST_URI'] to database.log
2020-03-14 13:52:01 +01:00
slawkens
959788cee8
Cache database tables & columns for 1 hour
2020-02-27 23:10:15 +01:00
slawkens
e11d70de46
Log database queries into database.log when enabled
...
Instead of showing in page sources (it was impractical)
2020-02-15 23:18:10 +01:00
slawkens
915e9409dc
* fixed #55 (Cache class not found)
2018-06-06 20:28:36 +02:00
slawkens
fb1b9fea09
* stop using global $cache variable, use Singleton pattern instead
2018-06-03 17:09:21 +02:00
slawkens
510459b046
* support for database persistent and socket connections (performance boost)
2018-06-01 18:56:57 +02:00
slawkens
ae24a4ea4c
* fixed that database_log was always on
2018-06-01 18:27:46 +02:00
slawkens
68d74a490b
* performance and optimisations fixes part 2, according to awesome PHPStorm Php Inspections plugin!
2018-05-29 21:16:48 +02:00
slawkens
bf361238cb
* remove whitespaces
2018-05-29 21:06:15 +02:00
slawkens1
9c536bd845
* plugins: require php-extension, table or column
...
Some additional options for plugin developers, to require specific php
extension, database table or column to be present on installed system!
2018-02-05 21:25:14 +01:00
slawkens1
ffa3bed620
* some fixes to the revalidateCache function
2018-01-14 11:14:40 +01:00
slawkens1
16bcb70863
* new hooks: LOGIN, LOGIN_ATTEMPT, LOGOUT
...
* fixed bug with uninstalling some plugin dirs
* updated TODO
2018-01-14 08:59:37 +01:00
slawkens1
2dddb853f2
* fixed installation
2018-01-07 23:22:25 +01:00
slawkens1
1025fad0e6
* cache $db->hasTable and $db->hasColumn functions
...
* changed tableExist and fieldExist to $db->hasTable(table) +
$db->hasColumn(table, column)
* new configurable: database_log - can log database queries and show in
website source when logged as super admin
* removed debug_level configurable, enabled by default when logged on
super admin
* added OTS_Account:getCountry()
* added posibility to load OTS_Player partially, and without skills
* (internal) changed depracated $ots->createObject() functions with
their OTS_ equivalents
* (internal) removed unused code
2018-01-06 05:44:33 +01:00
slawkens1
e808904f76
Version v0.0.2
...
* updated forum links to use friendly_urls
* some more info will be shown when cannot connect to database
* show more error infos when creating character
* fixed forum link on newses
* fixed spells loading when there's vocation name instead of id
* fixed bug when you have changed template but it doesn't exist anymore
* fixed vocations with promotion loading
* fixed support for gesior pages and templates
* added function OTS_Acount:getGroupId()
2017-05-02 18:05:37 +02:00
slawkens1
b5362d0654
First public release of MyAAC
2017-05-01 20:05:36 +02:00