Skip to content

Instantly share code, notes, and snippets.

View albinou's full-sized avatar

Albin Kauffmann albinou

View GitHub Profile
@albinou
albinou / owncloud-3.0.2_ovh.patch
Created May 1, 2012 12:09
OwnCloud 3.0.2 patch to make it work on OVH shared hosting
diff -rupN owncloud-3.0.2/.htaccess owncloud-3.0.2-patched/.htaccess
--- owncloud-3.0.2/.htaccess 2012-04-11 09:31:34.000000000 +0200
+++ owncloud-3.0.2-patched/.htaccess 2012-05-01 11:38:18.503716101 +0200
@@ -1,3 +1,5 @@
+SetEnv PHP_VER 5_3
+
ErrorDocument 404 /core/templates/404.php
<IfModule mod_php5.c>
php_value upload_max_filesize 512M
diff -rupN owncloud-3.0.2/lib/filestorage/local_ovh.php owncloud-3.0.2-patched/lib/filestorage/local_ovh.php
@albinou
albinou / gallery-3.0.2-exif.patch
Created June 22, 2011 21:36
Fix Gallery3 to extract IPTC Headlines and Captions
#! /bin/bash
#
# Restore the tc configuration
# This Traffic Control configuration allows a better use of the ADSL outbound
# traffic.
#
# Router configuration
DEV=eth1