diff --git a/app/Config/Database.php b/app/Config/Database.php index 645d5ce3..77144234 100644 --- a/app/Config/Database.php +++ b/app/Config/Database.php @@ -79,6 +79,7 @@ class Database extends Config 'port' => 3306, 'foreignKeys' => true, 'busyTimeout' => 1000, + 'synchronous' => null, 'dateFormat' => [ 'date' => 'Y-m-d', 'datetime' => 'Y-m-d H:i:s', diff --git a/app/Config/Paths.php b/app/Config/Paths.php index aa51ea9e..0d5699de 100644 --- a/app/Config/Paths.php +++ b/app/Config/Paths.php @@ -11,8 +11,10 @@ namespace Config; * more. * * All paths are relative to the project's root folder. + * + * NOTE: This class is required prior to Autoloader instantiation, + * and does not extend BaseConfig. */ - class Paths { /** diff --git a/app/Controllers/BaseController.php b/app/Controllers/BaseController.php index 73ce4155..741ac4c6 100644 --- a/app/Controllers/BaseController.php +++ b/app/Controllers/BaseController.php @@ -13,9 +13,14 @@ use ViewThemes\Theme; /** * BaseController provides a convenient place for loading components and performing functions that are needed by all - * your controllers. Extend this class in any new controllers: class Home extends BaseController + * your controllers. * - * For security be sure to declare any new methods as protected or private. + * Extend this class in any new controllers: + * ``` + * class Home extends BaseController + * ``` + * + * For security, be sure to declare any new methods as protected or private. */ abstract class BaseController extends Controller { @@ -40,6 +45,8 @@ abstract class BaseController extends Controller ResponseInterface $response, LoggerInterface $logger, ): void { + // Load here all helpers you want to be available in your controllers that extend BaseController. + // Caution: Do not put the this below the parent::initController() call below. $this->helpers = [...$this->helpers, 'svg', 'components', 'misc', 'seo', 'premium_podcasts']; // Do Not Edit This Line diff --git a/docs/src/content/docs/en/getting-started/docker.mdx b/docs/src/content/docs/en/getting-started/docker.mdx index c140cb1e..8296e803 100644 --- a/docs/src/content/docs/en/getting-started/docker.mdx +++ b/docs/src/content/docs/en/getting-started/docker.mdx @@ -22,8 +22,9 @@ service can be configured as the caching layer. - `latest` [stable], latest version build - `develop` [unstable], latest development branch build -Other unstable tags (e.g., `beta`, `next`) may be actively pushed during development phases. -See [all tags in the docker hub](https://hub.docker.com/r/castopod/castopod/tags). +Other unstable tags (e.g., `beta`, `next`) may be actively pushed during +development phases. See +[all tags in the docker hub](https://hub.docker.com/r/castopod/castopod/tags).