mosbth on master
Upgrade dbwebb gui (compare)
mosbth on master
Enable inspect for kmom10 (compare)
mosbth on master
Fix that phpdoc works again by … (compare)
left-info:
region: sidebar-left
template: anax/v2/block/default
data:
meta:
type: single
route: block/adress
right-info:
region: sidebar-right
template: anax/v2/block/default
data:
meta:
type: single
route: block/oppettider´´´
$app/$di
. https://github.com/dbwebb-se/oophp/tree/master/example/redovisa/config/di, nåt i stil med $res = $app->textfilter->getUntilMore($text)
phpinfo()
för att dubbelkolla att PDO finns på plats. https://github.com/dbwebb-se/oophp/blob/master/example/utility/phpinfo.php
Jag får inte mina tester som inbegriper databas att fungera, får detta för alla testfall, vad har jag missat? Jag har gjord $di->set("app", $app); i setUp().
´´´
1) Ssg\Product\ProductControllerTest::testIndexAction
Anax\DI\Exception\Exception: Could not load service 'db'.Failed in the callback that instantiates the service. Undefined index: SERVER_NAME
C:\cygwin64\home\46703\dbwebb-kurser\oophp\me\kmom10\proj\vendor\anax\di\src\DI\DI.php:72
C:\cygwin64\home\46703\dbwebb-kurser\oophp\me\kmom10\proj\vendor\anax\di\src\DI\DI.php:49
C:\cygwin64\home\46703\dbwebb-kurser\oophp\me\kmom10\proj\vendor\anax\di\src\DI\DIMagicTrait.php:23
C:\cygwin64\home\46703\dbwebb-kurser\oophp\me\kmom10\proj\test\Product\ProductControllerTest.php:40
´´´
config/database.php
i kursrepot, se https://github.com/dbwebb-se/oophp/blob/master/example/redovisa/config/database_sample.php#L17-L19