summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2012-02-02 20:56:25 -0500
committerDane Smith <c1pher@gentoo.org>2012-02-02 20:56:25 -0500
commit95766d1e10daba165bd7301494529cb73ab5a323 (patch)
tree64eef970f771a10481fe77fab337b20a5403f328 /www-apps/indefero/files
parentRemove more unneeded files. (diff)
downloadc1pher-95766d1e10daba165bd7301494529cb73ab5a323.tar.gz
c1pher-95766d1e10daba165bd7301494529cb73ab5a323.tar.bz2
c1pher-95766d1e10daba165bd7301494529cb73ab5a323.zip
Cleanup files some and rearrange the install to make more sense.
Diffstat (limited to 'www-apps/indefero/files')
-rw-r--r--www-apps/indefero/files/indefero-gentoo-pluf.diff13
-rw-r--r--www-apps/indefero/files/indefero-gentoo.diff28
2 files changed, 28 insertions, 13 deletions
diff --git a/www-apps/indefero/files/indefero-gentoo-pluf.diff b/www-apps/indefero/files/indefero-gentoo-pluf.diff
deleted file mode 100644
index aa8a152..0000000
--- a/www-apps/indefero/files/indefero-gentoo-pluf.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/IDF/conf/path.php-dist b/src/IDF/conf/path.php-dist
-index d8c90ca..9c566e4 100644
---- a/src/IDF/conf/path.php-dist
-+++ b/src/IDF/conf/path.php-dist
-@@ -29,7 +29,7 @@
- * PLUF_PATH: path to the folder containing the Pluf.php file.
- * IDF_PATH: path to the folder containing the IDF folder.
- */
--define('PLUF_PATH', dirname(__FILE__).'/../../../../pluf/src');
-+define('PLUF_PATH', '/usr/share/php/pluf/');
- define('IDF_PATH', dirname(__FILE__).'/../..');
-
- set_include_path(get_include_path()
diff --git a/www-apps/indefero/files/indefero-gentoo.diff b/www-apps/indefero/files/indefero-gentoo.diff
new file mode 100644
index 0000000..70a41e2
--- /dev/null
+++ b/www-apps/indefero/files/indefero-gentoo.diff
@@ -0,0 +1,28 @@
+diff --git a/www/index.php b/www/index.php
+index a1aebf5..c4229ec 100644
+--- a/www/index.php
++++ b/www/index.php
+@@ -21,8 +21,8 @@
+ #
+ # ***** END LICENSE BLOCK ***** */
+
+-require dirname(__FILE__).'/../src/IDF/conf/path.php';
++require dirname(__FILE__).'/src/IDF/conf/path.php';
+ require 'Pluf.php';
+-Pluf::start(dirname(__FILE__).'/../src/IDF/conf/idf.php');
++Pluf::start(dirname(__FILE__).'/src/IDF/conf/idf.php');
+ Pluf_Dispatcher::loadControllers(Pluf::f('idf_views'));
+ Pluf_Dispatcher::dispatch(Pluf_HTTP_URL::getAction());
+diff --git a/src/IDF/conf/path.php-dist b/src/IDF/conf/path.php-dist
+index d8c90ca..9c566e4 100644
+--- a/src/IDF/conf/path.php-dist
++++ b/src/IDF/conf/path.php-dist
+@@ -29,7 +29,7 @@
+ * PLUF_PATH: path to the folder containing the Pluf.php file.
+ * IDF_PATH: path to the folder containing the IDF folder.
+ */
+-define('PLUF_PATH', dirname(__FILE__).'/../../../../pluf/src');
++define('PLUF_PATH', '/usr/share/php/pluf/');
+ define('IDF_PATH', dirname(__FILE__).'/../..');
+
+ set_include_path(get_include_path()