Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/hr/dimedia/framework/ViewController.class.php on line 41
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/hr/dimedia/framework/InterceptingFilter.class.php on line 31
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb.class.php on line 858
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb.class.php on line 864
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb.class.php on line 1171
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb.class.php on line 1933
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb.class.php on line 2995
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb.class.php on line 3559
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb.class.php on line 3633
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb.class.php on line 3652
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/hr/dimedia/framework/I18n.class.php on line 102
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/hr/dimedia/framework/Controller.class.php on line 24
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/hr/dimedia/framework/Controller.class.php on line 25
Strict Standards: Declaration of Site::display() should be compatible with ViewController::display() in /var/www/vhosts/uhle.hr/httpdocs/_classes/hr/dimedia/framework/Site.class.php on line 17
Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/drivers/adodb-mysql.inc.php on line 354
Deprecated: Non-static method Language::RetrieveName() should not be called statically, assuming $this from incompatible context in /var/www/vhosts/uhle.hr/httpdocs/_classes/hr/dimedia/framework/I18n.class.php on line 88
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb-csvlib.inc.php on line 70
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb-csvlib.inc.php on line 126
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb-csvlib.inc.php on line 219
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/uhle.hr/httpdocs/_classes/com/weblogs/adodb/adodb-csvlib.inc.php on line 247
import('hr.dimedia.framework.Model');
import('hr.dimedia.framework.View');
class UrlRootModel extends Model {
function getUrlRoot()
{
return str_replace( array( '/index.php', '/simple.php' ), '', 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME']);
}
function getLangPrefix()
{
global $i18n;
return '/'.$i18n->language->code;
}
}
class UrlRootView extends View {
function display(){
return $this->model->getUrlRoot();
}
}
?>
Fatal error: Class 'UrlRootModel' not found in /var/www/vhosts/uhle.hr/httpdocs/_classes/hr/dimedia/framework/Controller.class.php on line 24