forked from slawkens/myaac
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync with Slawkens master branch (v0.8.16) (slawkens#11)
* Update common.php * Create SECURITY.md * Adding .env support (slawkens#1) * - adding composer * - adding .env support * Revert "Adding .env support (slawkens#1)" This reverts commit 79c570c. * Cleanup install folder (slawkens#7) * Adding .env support (slawkens#2) * - adding composer * - adding .env support * Improve DotEnv and fix e-mail settings (slawkens#3) * - revert changes on config.php, add config.local.php * - adding missing account e-mails settings * - adding check before flush buffer (slawkens#4) * - raw import myaac-gesior-shop-system-v5.0-beta.2 * Fresh install (slawkens#5) * - adding hidden ids * - hiding template * - removing katherine template * - moving game server files to a specific folder * Revert "Cleanup install folder (slawkens#7)" This reverts commit e8693bc. * Silently ignore if the hook does not exist * - adding check before flush buffer (slawkens#245) * Fix installation * Remove 31.php migration -> was for develop branch * Seems that this is better solution to the slawkens#245 (output buffering) This works for both, when output_buffering is enabled, and disabled * Fix broken installation I introduced in 0.8.15 * Revert "Fix installation" This reverts commit 9c318f9. * Release v0.8.16 * Fix date --------- Co-authored-by: slawkens <slawkens@gmail.com>
- Loading branch information
1 parent
4df5c40
commit 58a7180
Showing
5 changed files
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| 1.x.y | :white_check_mark: | | ||
| 0.9.x | :x: | | ||
| 0.8.x | :white_check_mark: | | ||
| < 0.7 | :x: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you found a security vulnerability, please write an email to security@my-aac.org | ||
|
||
All reports will be taken very seriously, and a fix will be posted as soon as possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
<?php | ||
|
||
if(!$db->hasColumn(TABLE_PREFIX . 'monsters', 'elements')) { | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `elements` TEXT NOT NULL AFTER `immunities`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `pushable` TINYINT(1) NOT NULL DEFAULT '0' AFTER `convinceable`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `canpushitems` TINYINT(1) NOT NULL DEFAULT '0' AFTER `pushable`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `canpushcreatures` TINYINT(1) NOT NULL DEFAULT '0' AFTER `canpushitems`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `canwalkonenergy` TINYINT(1) NOT NULL DEFAULT '0' AFTER `canpushitems`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `canwalkonpoison` TINYINT(1) NOT NULL DEFAULT '0' AFTER `canwalkonenergy`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `canwalkonfire` TINYINT(1) NOT NULL DEFAULT '0' AFTER `canwalkonpoison`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `runonhealth` TINYINT(1) NOT NULL DEFAULT '0' AFTER `canwalkonfire`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `hostile` TINYINT(1) NOT NULL DEFAULT '0' AFTER `runonhealth`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `attackable` TINYINT(1) NOT NULL DEFAULT '0' AFTER `hostile`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `rewardboss` TINYINT(1) NOT NULL DEFAULT '0' AFTER `attackable`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `defense` INT(11) NOT NULL DEFAULT '0' AFTER `rewardboss`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `armor` INT(11) NOT NULL DEFAULT '0' AFTER `defense`;"); | ||
$db->exec("ALTER TABLE `" . TABLE_PREFIX . "monsters` ADD `summons` TEXT NOT NULL AFTER `loot`;"); | ||
} | ||
// removed, but kept for compatibility |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters