Skip to content

Commit

Permalink
include all neccessary ODP files
Browse files Browse the repository at this point in the history
add application, extensions, libraries (Zend, Erfurt)

adapt config.ini.dist

add .gitignore file to cache folder to keep cache folder in
versioning control, but without keep track if its files
  • Loading branch information
k00ni committed Aug 28, 2013
1 parent a440d3e commit 548067e
Show file tree
Hide file tree
Showing 823 changed files with 158,348 additions and 67,931 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# OntoWiki muck
*.log
application/tests/cache
/cache
/uploads
/libraries/Zend
/logs
Expand Down
3 changes: 3 additions & 0 deletions cache/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
*.*
!.gitignore
168 changes: 39 additions & 129 deletions config.ini.dist
Original file line number Diff line number Diff line change
@@ -1,143 +1,53 @@
;;;;
;; OntoWiki user config file
;;
;; Settings here will overwrite values from application/config/default.ini
;;
;; @package application
;; @subpackage config
;; @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
;; @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
;;

[private]

;;;;
;; Database setup
;; In most cases you only need to change username, password
;; and database name (dbname).

;;;;
;; Backend type:
;; Possible values are zenddb (mysql), virtuoso, arc, comparer and sparql
;;
store.backend = virtuoso
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;store.backend = virtuoso

;;;;
;; ZendDB / MySQL backend specific options
;;
store.zenddb.dbname = "ontowiki"
store.zenddb.username = "php"
store.zenddb.password = "php"
store.zenddb.dbtype = mysql
store.zenddb.host = localhost
;store.virtuoso.dsn = VOS
;store.virtuoso.username = "dba"
;store.virtuoso.password = "dba"

;;;;
;; Virtuoso backend specific options
;;
store.virtuoso.dsn = VOS
store.virtuoso.username = "dba"
store.virtuoso.password = "dba"
;; affect the main search: searches <= 4 will be exact search (instead of bif:contains)
store.virtuoso.search_max_length_for_bifcontains = "4"
; affect the main search: searches <= 4 will be exact search (instead of bif:contains)
;store.virtuoso.search_max_length_for_bifcontains = "4"
;store.virtuoso.use_persistent_connection = true

;;;;
;; ARC2 backend specific options
;;
store.arc.dbname = "ontowiki_arc2"
store.arc.username = "ow"
store.arc.password = "ow"
store.arc.host = "localhost"
store.arc.store = "ef"

;store.sparql.serviceUrl = "http://dbpedia.org/sparql";
;store.sparql.graphs[] = "http://dbpedia.org"

;;;;
;; Comparer backend specific options
;;
store.comparer.reference = virtuoso
store.comparer.candidate = zenddb
store.comparer.ignoredMethods[] = sparqlQuery

;;;;
;; Frontend language
;;
languages.locale = "en" ; en, de, ru, zh (Chinese)

;;;;
;; Set this identifier to a unique value if you want to run multiple OntoWiki
;; installations on one server
;;
;session.identifier = "abc123"

;;;;
;; Email configuration
;; You should set the host and localname for account recovery mails here
;; appropriate values are necessary to guarantee correct function
;;
mail.hostname = "hostname.tld"
mail.localname.recovery = "ontowiki-account-recovery"

;;;;
;; Proxy configuration
;; You can configure an optional proxy server for connections that OntoWiki internally opens.
;; This is for example useful in situations, where you want to access Linked Data and your OntoWiki sits
;; behind a firewall.
;;
;proxy.host = ""
;proxy.port = 8080
;proxy.username = ""
;proxy.password = ""
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
store.backend = sparql
;store.sparql.serviceUrl = "http://cubeviz.aksw.org/sparql";
;store.sparql.graphs[] = "http://data.lod2.eu/scoreboard/"

;; Virtual host configurations (optional, e.g. when OntoWiki is reachable via multiple domains)
;vhosts[] = "http://graph1.ontowiki.de"
;vhosts[] = "http://graph2.ontowiki.de"
versioning = false
sysont.enable = false
ac.type = "none"

;;;;
;; Uncomment this line to turn off the query and object cache (NOT recommended)
;;
;cache.enable = false
;cache.query.enable = false
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Default index action if called action wasn't found
index.default.controller = "page"
index.default.action = "index"

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Default theme and themes folder
themes.default = "odp_cubeviz"

;; Options for cache frontend
cache.frontend.enable = true
cache.frontend.lifetime = 0
;cache.frontend.logging = false
;cache.frontend.write_control = true
;cache.frontend.automatic_cleaning_factor = 10
;cache.frontend.ignore_user_abort = false
cache.frontend.cache_id_prefix = 'OW_'

;; Cache backend options
;; Available: file | memcached | database | sqlite | apc
;; Recommended: memcached | file
cache.backend.type = "file"

;; Options for file cache backend
cache.backend.file.cache_dir = "./cache/"
cache.backend.file.file_locking = NULL

;; Options for memcached cache backend
;cache.backend.memcached.compression = false
;cache.backend.memcached.compatibility = false
;; You can define several servers: copy block, below and increase number and configure properly
cache.backend.memcached.servers.0.host = "localhost"
;cache.backend.memcached.servers.0.port = 11211
;cache.backend.memcached.servers.0.persistent = true
;cache.backend.memcached.servers.0.weight = 1
;cache.backend.memcached.servers.0.timeout = 5
;cache.backend.memcached.servers.0.retry_interval = 15
;cache.backend.memcached.servers.0.status = 15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Frontend language
languages.locale = "en" ; en, de, ru, zh (Chinese)

;; Options for sqlite cache backend
cache.backend.sqlite.cache_db_complete_path = "/tmp/ow_cache.sqlite"
;cache.backend.sqlite.automatic_vacuum_factor = 10
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
debug = true
cache.enable = false
cache.query.enable = false

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
title.prefix = "European Commision - Open Data Portal"

;;;;
;; uncomment this line if you need more information
;;
;debug = true
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Proxy settings (remove the ; before each line to activate them)
;proxy.host = ""
;proxy.port = ""
;proxy.user = ""
;proxy.pass = ""

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Identifier for the internal session handling. No need to change this!
session.identifier = "odp"
156 changes: 0 additions & 156 deletions extensions/account/AccountController.php

This file was deleted.

Loading

0 comments on commit 548067e

Please sign in to comment.