This repository has been archived by the owner on Jan 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
AnitaR
authored and
AnitaR
committed
Mar 7, 2014
1 parent
85223ca
commit 18d5f09
Showing
21 changed files
with
3,707 additions
and
6 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
apc_clear_cache(); | ||
apc_clear_cache('user'); | ||
apc_clear_cache('opcode'); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
// Dit script kan gebruikt worden om bestanden die niet verwijderd kunnen worden te verwijderen. | ||
exec("rm -f app/tmp/ca* > /www/libis/web/collectiveaccess/crkc_media/testclearcache.txt 2> /www/libis/vol03/collectiveaccess/crkc_media/testclearcache_error.txt"); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
$url = "http://libis-t-rosetta-1.libis.kuleuven.be:8983/solr"; | ||
$process = curl_init($url); | ||
$fp = fopen("/www/libis/web/collectiveaccess/crkc_media/example_homepage.txt", "w"); | ||
curl_setopt($process, CURLOPT_FILE, $fp); | ||
curl_setopt($process, CURLOPT_PROXY, 'icts-http-gw.cc.kuleuven.be:8080'); | ||
/* curl_setopt($process, CURLOPT_HEADER, 0); | ||
curl_setopt($process,CURLOPT_ENCODING , $this->compression); | ||
curl_setopt($process, CURLOPT_TIMEOUT, 30); | ||
if ($this->proxy) curl_setopt($process, CURLOPT_PROXY, $this->proxy); | ||
if ($this->proxy) curl_setopt($process,CURLOPT_PROXYPORT, 8080); | ||
// if ($this->proxy) curl_setopt($process, CURLOPT_HTTPPROXYTUNNEL, 1); | ||
curl_setopt($process, CURLOPT_RETURNTRANSFER, 1); | ||
curl_setopt($process, CURLOPT_FOLLOWLOCATION, 0); */ | ||
$return = curl_exec($process); | ||
echo "return: " . $return; | ||
curl_close($process); | ||
fclose($fp); | ||
|
||
?> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
exec("php controle_thesaurus_csv.php > /www/libis/web/collectiveaccess/crkc_media/controle_thesaurus_csv.log 2> /www/libis/vol03/collectiveaccess/crkc_media/error.txt "); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
cd support/utils | ||
nohup php reindex.php 'www.religieuserfgoed.be' > /www/libis/vol03/collectiveaccess/crkc_media/reindex_solr_ca.log 2> /www/libis/vol03/collectiveaccess/crkc_media/reindex_solr_error.txt < /dev/null & | ||
cd - | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
//exec("php support/utils/createSolrConfiguration.php > /www/libis/web/collectiveaccess/crkc_media/config_log.log 2> /www/libis/vol03/collectiveaccess/crkc_media/config_log_error.txt"); | ||
exec("nohup sh reindex.sh > /www/libis/web/collectiveaccess/crkc_media/process.out 2> /www/libis/vol03/collectiveaccess/crkc_media/process.err < /dev/null &"); | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
//exec("php support/utils/createSolrConfiguration.php > /www/libis/web/collectiveaccess/crkc_media/config_log.log 2> /www/libis/vol03/collectiveaccess/crkc_media/config_log_error.txt"); | ||
exec("php support/utils/reindex.php 'www.religieuserfgoed.be' > /www/libis/web/collectiveaccess/crkc_media/reindex_solr_ca.log 2> /www/libis/vol03/collectiveaccess/crkc_media/reindex_solr_error.txt"); | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
exec("php support/utils/reindex.php 'http://crkc.be.halotest.cc.kuleuven.be/ca_crkc' 'ca_objects' > /www/libis/web/collectiveaccess/crkc_media/reindex.log 2> /www/libis/vol03/collectiveaccess/crkc_media/reindex_error.txt "); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
//exec("php support/utils/createSolrConfiguration.php > /www/libis/web/collectiveaccess/crkc_media/config_log.log 2> /www/libis/vol03/collectiveaccess/crkc_media/config_log_error.txt"); | ||
exec("nohup sh reloadSort.sh > /www/libis/web/collectiveaccess/crkc_media/process_reload.out 2> /www/libis/vol03/collectiveaccess/crkc_media/process_reload.err < /dev/null &"); | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
cd support/utils/other | ||
php reloadSortValues.php 'www.religieuserfgoed.be' | ||
cd - |