diff options
Diffstat (limited to 'www-apps/indefero/files/indefero-gentoo.diff')
-rw-r--r-- | www-apps/indefero/files/indefero-gentoo.diff | 28 |
1 files changed, 28 insertions, 0 deletions
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() |