Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/www/domains/hppgallery_com/design/defaulttheme/tpl/pagelayouts/main.php on line 59

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/www/domains/hppgallery_com/design/defaulttheme/tpl/pagelayouts/main.php on line 59
Sunday, December 17, 2017
 

Nice URL activation

Nice url consists of two main settings.ini.php options.

 

  • <force_virtual_host> - removes index.php from URL
  • <nice_url_enabled> - enables nice url generation.

In order to have nice url, both options have to be activated. You should not forget also use .htaccess for apache and lighttpd mod_rewrite for lighttpd.

By default settings looks like:

'nice_url_enabled' => false,
'force_virtual_host' => false,

Enabled settings looks like:

'nice_url_enabled' => true,
'force_virtual_host' => true,
Back »

Comments: 3

Leave a reply »

 
  • Markuz Zereli

    so.. um.. ya, what exactly should i put in the .htaccess file for mod_rewrite rules for this to function?

     
     
  • Markuz Zereli

    Nevermind, i foudn the information.

    Should probably include this information in the online documentation.

     
     
  • PascalP37

    Dans /doc/

    il y a des exemples.

     
     
  • Leave a Reply
    Your gravatar
    Your Name
     
     
     
     
 
About HPPG

High performance photo gallery dedicated for large numbers of image storage.

Get in touch

Donate



Download