Skip to content

Commit

Permalink
Fixes for using composer
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Feb 4, 2015
1 parent 9ad4a99 commit f7d8a6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/configs/application.ini.dist
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ resources.auth.oss.login_history.entity = "\\Entities\\UserLoginHistory"

;; Set this to wherever PEAR installed Doctrine. The given example is typical
;; for Ubuntu. For FreeBSD, try "/usr/local/share/pear/Doctrine/ORM"
resources.doctrine2cache.path = "/usr/share/php/Doctrine/ORM"
resources.doctrine2cache.autoload_method = "pear"
;; resources.doctrine2cache.path = "/usr/share/php/Doctrine/ORM"
resources.doctrine2cache.autoload_method = "composer"
resources.doctrine2cache.namespace = 'IXPManager'
; resources.doctrine2cache.type = 'ArrayCache'
resources.doctrine2cache.type = 'MemcacheCache'
Expand Down
2 changes: 2 additions & 0 deletions bin/utils.inc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* http://www.gnu.org/licenses/gpl-2.0.html
*/

require_once( '../vendor/autoload.php' );

// load version information
require_once( dirname( __FILE__ ) . '/../library/IXP/Version.php' );

Expand Down
2 changes: 2 additions & 0 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
// let's time how long it takes to execute
define( 'APPLICATION_STARTTIME', microtime( true ) );

require_once( '../vendor/autoload.php' );

// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
Expand Down

0 comments on commit f7d8a6b

Please sign in to comment.