cp tools/mod_rewrite.htaccess .htaccess vim .htaccess
Ako donutim singapore 10 a viac aby neukladal thumbnaily a statistiky do galerii:
http://www.sgal.org/forum/viewtopic.php?id=980&p=2
I changed few things to force singapore to track hits (create files hits.csv) in logs directory and not in galleries. I changed:
in includes/singapore.class.php, line 845:
$mode=1 to $mode=0.
in includes/io_csv.class.php, line 213:
$fp = @fopen($this->config->base_path.$this->config->pathto_logs.strtr("views".$gal->id,":/?\\","----").".log","r");
and in includes/io_csv.class.php, line 255:
$logfile = $this->config->base_path.$this->config->pathto_logs.strtr("views".$gal->id,":/?\\","----").".log";
I also created writable directory data/logs
mkdir data/logs
Paranoid access rights settings:
chown -R httpd:httpd . chmod -R 400 . chmod -R u+X . chmod -R u+w data
Works with Solaris 10 and PHP in Safe mode.