diff --git a/src/config/config-sample.php b/src/config/config-sample.php index dd8c7815..1486e8d1 100644 --- a/src/config/config-sample.php +++ b/src/config/config-sample.php @@ -6,6 +6,8 @@ * Usually, the wishthis installer will create the config.php for you. */ +namespace wishthis; + /** * Database * diff --git a/src/functions/gettext.php b/src/functions/gettext.php index 780c8254..716ad9ba 100644 --- a/src/functions/gettext.php +++ b/src/functions/gettext.php @@ -2,11 +2,9 @@ /** * Gettext - * - * @author Jay Trees */ -use wishthis\User; +namespace wishthis; function __(string $text, string $context = null, User $user = null): string {