I use wsvn on my svn subdomain. Nginx doesn’t have real support for this, but there is a way to sorta do this. First we set this in our / location: #Sorta emulate multiviews. set $path_info “”; if ($uri ~ “^/wsvn/(.+)$”) { set $path_info “/$1”; rewrite ^(.+)$ /wsvn.php?$1 last; } Now I just need to …
$smcFunc as a static method via overloading
This was more of something I wanted to play with. I wanted to convert $smcFunc into a method. So for instance lets say $smcFunc[‘db_quote’]() would be smcFunc::db_quote(). This wasn’t looking good at first. I thought I could use __construct and just intercept what is going on. But static calls do not use __construct. So this …