#1

Simple script to access DB

in Off Topic 11.11.2017 16:19
von Martintaylor | 221 Beiträge

Hello,


I'd like to build a small script to update my DB using omeka core functions. For example I'd like to be able to use get_db().


Which includes should I use ? I've tried "require_once("bootstrap.php")" but it does'nt seem to be enough as I get an error : "Database not available!"


I don't want to build a plugin or anything else, just a small script that I should call from the command line ("php myscript.php").


Hope someone has the solution




Thank You!!!




I didn't find the right solution from the Internet.

References
http://omeka.org/forums-legacy/topic/sim...pt-to-access-db

video explainers

nach oben springen


Shoutbox

Besucher
0 Mitglieder und 4 Gäste sind Online

Forum Statistiken
Das Forum hat 303 Themen und 2144 Beiträge.

Heute waren 0 Mitglieder Online:

Besucherrekord: 189 Benutzer (12.10.2024 18:03).

Xobor Einfach ein eigenes Xobor Forum erstellen