News for hackers. Stuff that matters.
Re:Toro - a php micro-router with great examples by devgutt on Friday August 24, 2012 @07:55AM (#4427157)
How can I bypass images or specific files using ToroPhp? I usually add this lines at my .htaccess:

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
Re:Toro - a php micro-router with great examples by sjs382 on Friday August 24, 2012 @12:21PM (#4428245)
You do just that. When setting your .htaccess to route all URLs through Toro, use a snippet like:

RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php