Skip to content

Commit

Permalink
Fixed issue in data sync, on production environment (Dreamhost) file …
Browse files Browse the repository at this point in the history
…paths are case sensitive, which was screwing up loading a few PHP libraries
  • Loading branch information
patpohler committed Oct 24, 2012
1 parent 0d43563 commit e44b16f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$e =& get_instance();
$e->load->file(APPPATH."libraries/cp.php");
$e->load->file(APPPATH."libraries/Cp.php");

/**
* Mock CP Library
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ public function create_channel($data=array())
}

//Load admon content controller
$this->EE->load->file(PATH_THIRD.$this->_module_name."/classes/mock_admin_content.php");
$this->EE->load->file(PATH_THIRD.strtolower($this->_module_name)."/classes/mock_admin_content.php");

//Is there a field group?
if(isset($data['field_group']) && $data['field_group'] != NULL) {
Expand Down Expand Up @@ -683,7 +683,7 @@ public function create_fieldgroup($data=array())
}

//Load admon content controller
$this->EE->load->file(PATH_THIRD.$this->_module_name."/classes/mock_admin_content.php");
$this->EE->load->file(PATH_THIRD.strtolower($this->_module_name)."/classes/mock_admin_content.php");

if(!isset($data['group_name'])) show_error("Group name must be specified");

Expand Down Expand Up @@ -718,7 +718,7 @@ public function create_field($group_id, $data=array())


//Load admon content controller
$this->EE->load->file(PATH_THIRD.$this->_module_name."/classes/mock_admin_content.php");
$this->EE->load->file(PATH_THIRD.strtolower($this->_module_name)."/classes/mock_admin_content.php");


$extra = array();
Expand Down

0 comments on commit e44b16f

Please sign in to comment.