169 Commits

Author SHA1 Message Date
slawkens
51b848c43e Add RuntimeException if xml, pdo or zip PHP extension is missing
For a better User Experience ;)
2020-02-15 17:17:28 +01:00
slawkens
8021308822 Update Twig from 1.35.0 to 1.42.4 (PHP 5.5 is now required!)
This fixes some errors on PHP 7.4 and contains even more fixes
Also bumped PHP version to 5.5 as Twig requires it.
2020-02-15 05:41:38 +01:00
slawkens
d9e449b6cf Forgot to remove this in last commit 2020-02-15 05:37:09 +01:00
slawkens
2dbf189f43 Use $db->exec where appropriate
May bring some performance boost (little, but still)
2020-02-15 03:15:53 +01:00
slawkens
82e64559a8 Cache newses for 1 hour
+ Merge News classes into one and move to separate file
2020-02-15 02:47:53 +01:00
slawkens
13d0718780 RuntimeException instead of die() 2020-02-12 23:20:16 +01:00
slawkens
259cda150d Fix some 7.4 notices about OTS_Account bans
Example: Notice: Trying to access array offset on value of type bool in C:\UniServerZ\www\system\libs\pot\OTS_Account.php on line 784
2020-02-10 23:51:15 +01:00
slawkens
4f413eec12 Update PHPMailerAutoload.php 2020-02-10 10:24:23 +01:00
slawkens
441bfe74c1 Fix "Deprecated: __autoload() is deprecated"
Deprecated: __autoload() is deprecated, use spl_autoload_register() i
2020-02-10 10:22:55 +01:00
slawkens
1ba2381437 Remove useless config variable 2020-02-07 01:06:19 +01:00
slawkens
c821f76f0f Forgot to remove this part
Also added delete hooks and template_menus from cache when uninstalling plugin
2020-02-03 23:30:57 +01:00
slawkens
fbca43b239 Nothing important, remove whitespaces.. 2020-01-22 00:34:10 +01:00
slawkens
a03a8bf0d5 Fix #51 2020-01-22 00:33:50 +01:00
slawkens
c7f2cab56a Remove useless .htaccess 2020-01-15 20:57:31 +01:00
slawkens
0f55211dc9 Nothing important: remove whitespaces... 2020-01-13 20:20:27 +01:00
slawkens
dbf09ef361 tableExist is deprecated 2020-01-13 20:20:08 +01:00
slawkens
e08557e5ae Remove myaac_hooks table, load info directly from .json files and cache them 2020-01-13 20:19:34 +01:00
tobi132
ba1d52d6dd Add hint @var OTS_MonstersList 2019-12-03 05:10:47 +01:00
tobi132
6b931de37d Update OTS_Base_List.php 2019-12-03 03:10:53 +01:00
tobi132
1e2267bd31 Create character directly on create account page 2019-12-02 23:10:32 +01:00
tobi132
72d7dae7fa Remove whitespaces 2019-12-02 21:11:14 +01:00
tobi132
5624022064 Some non important change.. 2019-12-02 21:11:00 +01:00
tobi132
645e7ee95f Compatibility with old z_ gesior table. This fixes #46 2019-10-17 23:42:02 +02:00
tobi132
f8c2f0f01b Cache items for longer period (5 years actually) 2019-10-17 12:11:18 +02:00
tobi132
fb9ead2690 Fix typo 2019-07-22 12:14:54 +02:00
Gabriel Pedro
e7c381d651 * added travisci to prevent mistype (#89)
* feat: travis

* feat: travis

* feat: travis

* feat: travis

* feat: travis

* fix: typo
2019-07-22 12:12:01 +02:00
Evil Puncker
af1a6cf5ff Updated copyright year and SSL link
Updated year to 2019 and made all my-aac.org links go to SSL by default
2019-07-17 20:22:07 -03:00
tobi132
49fe7a4b38 fixed #87 2019-07-17 19:01:44 +02:00
tobi132
3945c2ad52 New, beautiful exception handler 2019-07-16 20:07:32 +02:00
tobi132
bc8f24afad Move items from database to Cache_PHP 2019-07-16 19:06:51 +02:00
tobi132
6a89b12258 Use config() instead of global $config, use exec instead of query 2019-07-16 08:22:26 +02:00
slawkens
78454657ca * fixed IDE warning "Modifiers are misordered" 2019-05-30 14:33:46 +02:00
slawkens
7b770e09f7 * add @method annotations to Cache class
* code beautify
2019-05-25 00:20:20 +02:00
slawkens
933b25194c * cache hooks and template menus 2019-05-25 00:18:30 +02:00
slawkens
1cbe452f9c * remove unused and deprecated SQLquery and SQLquote functions 2019-05-24 23:46:45 +02:00
slawkens
920e9b915f * use $db->exec instead of query optimisation 2019-05-23 23:37:07 +02:00
slawkens
705277ceb5 * this comparison is useless 2019-05-10 20:17:57 +02:00
whiteblXK
945442a842 Fixed problem with guildnick 2019-05-06 22:41:52 +02:00
slawkens
d3e3efd05e * new cache engine: plain php 2019-04-24 12:08:42 +02:00
slawkens
5f22ab0361 * sizeof is alias of count 2019-04-19 22:47:42 +02:00
Tornadia
9f31f90146 Fixing some errors at the install endscreen (#75)
* Fixed some bugs at last install screen (unset country and HTTPS protocol definition)

* Correction: allow_url_fopen is not to make any distinction between HTTP/HTTPS

* Black skull bug when joining serverInfo

* * latin is good but utf8 is better

* also changed ENGINE to InnoDB

* * use curl as alternative option for reporting install

* * you forgot this

* * fix typo

* Revert "* fix typo"

This reverts commit 6f24509dd659032c65c3ccbdf5b5bb3b25cffd72.

* * fix typo

* * this is the correct way to hide that notice
2019-04-19 22:28:38 +02:00
slawkens
559d13dfd9 * fix OTS_Account->setPremDays for OTHire 2019-04-13 04:48:06 +02:00
slawkens
6ccaf316ab * fix saving of account country in player editor 2019-04-13 04:45:48 +02:00
Lee
1859867039 Bug Fixes
-fix for getSkillTries as reported by whiteblXK
-fix for login and account type as reported by vG-
2018-12-30 01:00:26 +00:00
Lee
2667d2b41c Updates + Fixes (#66)
* Updates

+added account editor country list
+added account editor website access flag editor.
+added player blessing1-8 editor
+added fav icon
+added $account->setLastLogin
+added $player->checkBlessings (for blessings 1-8)
+bug fixes

* Blessing Fix

Should now detect the amount of blessings if blessings1 onwards exists.
2018-12-26 11:32:58 +01:00
Lee
1b539f82ac Updates (#65)
* Updates

+Added missing images
+Added report viewer as requested by icekis
-Code cleanup

if strict db, need to set spell to null run

ALTER TABLE `myaac_spells` CHANGE `spell` `spell` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL;
2018-12-12 20:44:29 +01:00
Lee
6dab50cbd8 Admin Panel (#61)
Thank you Lee for this awesome, Bootstrap Admin Panel!
2018-11-22 07:12:14 +01:00
slawkens
5d0a0d352b Fix database_name in Usage_Statistics
(cherry picked from commit 3c6f44d)
2018-10-31 07:49:12 +01:00
slawkens
63bc0a9620 Fix bug where server_config table does not exist (OTHire as an example)
Happened in Usage_Statistics class
Thanks for reporting the OtLand user - Olddies

(cherry picked from commit dacc5b9)
2018-10-31 07:48:56 +01:00
slawkens
915e9409dc * fixed #55 (Cache class not found) 2018-06-06 20:28:36 +02:00