arav_up_confs.php 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. $GLOBALS["conf"]["executables"] = array("ogginfo" => "/usr/bin/ogginfo",
  3. "mkvinfo" => "/usr/bin/mkvinfo",
  4. "ffmpegthumbnailer" => "/usr/local/bin/ffmpegthumbnailer",
  5. "oggthumb" => "/usr/local/bin/oggThumb",
  6. "mktorrent" => "/usr/bin/mktorrent",
  7. "qrencode" => "/usr/bin/qrencode",
  8. "vorbiscomment" => "/usr/bin/vorbiscomment"
  9. );
  10. // http://www.w3.org/1999/02/22-rdf-syntax-ns# o http://www.w3.org/2000/xmlns/
  11. $GLOBALS["conf"]["namespaces"] = array("rdf" => array("namespaceURI" => "http://www.w3.org/2000/xmlns/",
  12. "qualifiedName" => "xmlns:rdf",
  13. "value" => "http://www.w3.org/1999/02/22-rdf-syntax-ns#"),
  14. "arav" => array("namespaceURI" => "http://www.w3.org/2000/xmlns/",
  15. "qualifiedName" => "xmlns:arav",
  16. "value" => "http://wiki.indivia.net/wikka.php?wakka=ArAv"),
  17. "uimd" => array("namespaceURI" => "http://www.w3.org/2000/xmlns/",
  18. "qualifiedName" => "xmlns:uimd",
  19. "value" => "http://wiki.indivia.net/wikka.php?wakka=UiMd"),
  20. "dc" => array("namespaceURI" => "http://www.w3.org/2000/xmlns/",
  21. "qualifiedName" => "xmlns:dc",
  22. "value" => "http://purl.org/dc/elements/1.1/"),
  23. "rss" => array("namespaceURI" => "http://www.w3.org/2000/xmlns/",
  24. "qualifiedName" => "xmlns:rss",
  25. "value" => "http://purl.org/rss/1.0/"),
  26. "ctag" => array("namespaceURI" => "http://www.w3.org/2000/xmlns/",
  27. "qualifiedName" => "xmlns:ctag",
  28. "value" => "http://commontag.org/ns#")
  29. );
  30. $GLOBALS["conf"]["supportedexetensions"] = array("ogg","oga","ogv","ogm","webm");
  31. $GLOBALS["conf"]["DirsNotRegex"] = "/^arav_|^oembed|^ft_plugins|^tmp$|^\.$/i";
  32. $GLOBALS["conf"]["FilesRegex"] = "/\.oga$|\.ogv$|\.ogg$|\.webm$|\.mkv$/i";
  33. // campi stabili durante la sessione
  34. $GLOBALS["conf"]["stablestoredfields"] = array("REMOTE_ADDR", "HTTP_USER_AGENT", "HTTP_HOST");
  35. // campi che cambiano durante la sessione
  36. $GLOBALS["conf"]["volatilestoredfields"] = array("REQUEST_TIME");
  37. $GLOBALS["conf"]["xml_version"] = "1.0";
  38. $GLOBALS["conf"]["xml_encoding"] = "UTF-8";
  39. $GLOBALS["conf"]["report_threshold"] = 0;
  40. $GLOBALS["conf"]["dirmetadatafile"] = "dir.data";
  41. //$GLOBALS["conf"]["user_db"] = "./arav_up_users/arav_users.sqlite3";
  42. $GLOBALS["conf"]["user_db"] = "/home/cek/git/arkiwiapi/arav_up_users/arav_users.sqlite3";
  43. $GLOBALS["conf"]["data_basedir"] = "/tmp"; // dove stanno i doc fisici
  44. $GLOBALS["conf"]["metadata_basedir"] = "/tmp"; // dove stanno i metadati derivati
  45. //campi di configurazione per il client html
  46. //$GLOBALS["conf"]["api_endpoint"] = "http://upload.arkiwi.org/arav_up_api";
  47. $GLOBALS["conf"]["api_endpoint"] = "http://arkiwi-dev/arav_up_api";
  48. //campi di configurazione per la parte "CAZZACCROCCHIO"
  49. $GLOBALS["conf"]["assetstore_endpoint"] = "http://assetstore.arkiwi.org";
  50. ?>