diff -Naur powl/config.inc.php-dist powl.externalrap/config.inc.php-dist --- powl/config.inc.php-dist 2004-12-21 07:08:08.000000000 +0100 +++ powl.externalrap/config.inc.php-dist 2006-08-25 15:27:10.000000000 +0200 @@ -23,4 +23,5 @@ $_POWL['SysOntModelURI']='http://localhost/SysOnt/0.1#'; // Don't change this line, unless you know what you do $_POWL['SysOntSchemaURI']='http://powl.sf.net/SysOnt/0.1#'; -?> \ No newline at end of file +define('RDFAPI_INCLUDE_DIR', '/usr/share/php-rap/api/'); +?> diff -Naur powl/modules/admin/dbmon.php powl.externalrap/modules/admin/dbmon.php --- powl/modules/admin/dbmon.php 2006-02-17 13:39:00.000000000 +0100 +++ powl.externalrap/modules/admin/dbmon.php 2006-08-25 15:27:28.000000000 +0200 @@ -1,6 +1,6 @@ <? include('../../config.inc.php'); -include_once('../../rdfapi-php/api/util/adodb/adodb.inc.php'); +include_once(RDFAPI_INCLUDE_DIR . 'util/adodb/adodb.inc.php'); session_start(); if(empty($_SESSION['PWL']['user'])) exit; @@ -10,4 +10,4 @@ $perf =& NewPerfMonitor($dbConn); $perf->UI($pollsecs=5); -?> \ No newline at end of file +?> diff -Naur powl/modules/rdql/index.php powl.externalrap/modules/rdql/index.php --- powl/modules/rdql/index.php 2004-11-25 16:50:00.000000000 +0100 +++ powl.externalrap/modules/rdql/index.php 2006-08-03 09:08:41.000000000 +0200 @@ -45,10 +45,6 @@ } else $query="SELECT\n\t*\nWHERE\n\t(?x, rdfs:SubClassOf, ?y)\nUSING\n\trdfs FOR <http://www.w3.org/2000/01/rdf-schema#>"; ?> -<script language="javascript"> -var inp; -parent.frames['docu'].location.href='../../rdfapi-php/doc/tutorial/rdql_tutorial.htm'; -</script> <h1><?= pwl_("RDQL Query") ?></h1> <? if(empty($_ET['rdfsmodel'])) { echo(pwl_('<b>No model selected.</b><br/>Please select a model first!').'</body>'); diff -Naur powl/netapi.php powl.externalrap/netapi.php --- powl/netapi.php 2005-11-01 10:08:22.000000000 +0100 +++ powl.externalrap/netapi.php 2006-08-25 15:29:31.000000000 +0200 @@ -24,5 +24,5 @@ $NETAPI_DB_USER =$_POWL['db']['user']; $NETAPI_DB_PASS =$_POWL['db']['pass']; -include(RDFAPI_INCLUDE_DIR.'/netapi/netapi.php'); -?> \ No newline at end of file +include(RDFAPI_INCLUDE_DIR.'../netapi/netapi.php'); +?> diff -Naur powl/rdfsapi/rdfsapi.php powl.externalrap/rdfsapi/rdfsapi.php --- powl/rdfsapi/rdfsapi.php 2006-04-09 08:43:24.000000000 +0200 +++ powl.externalrap/rdfsapi/rdfsapi.php 2006-08-25 15:26:39.000000000 +0200 @@ -331,4 +331,4 @@ # $GLOBALS['clite']->save($res,'Resources'.$modelId); #} ##print_r($GLOBALS['clite']->get('Resources17')); -?> \ No newline at end of file +?>