BUG 0000 Change Solr configuration environment variables
Now the Solr configuration variables are read from the env.ini file that is stored in the shared//sites/SYS_SYS/ folder. The system class is used to get the environment variables using the solrenv function.
This commit is contained in:
@@ -40,7 +40,7 @@ class Entity_Base {
|
||||
protected function validateRequiredFields($requiredFields = array()) {
|
||||
foreach ( $requiredFields as $k => $field ) {
|
||||
if ($this->{$field} === NULL) {
|
||||
throw (new Zend_Exception ( "Field $field is required in " . get_class ( $this ) ));
|
||||
throw (new Exception ( "Field $field is required in " . get_class ( $this ) ));
|
||||
die ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user