Pastoid

The page you are looking at now is at this URL: http://pastoid.com/4m

This paste was last updated on August 27, 2008 at 9:31 pm.

Pasted Coderaw

<?php
 
$random_dir = Site::get_dir( 'theme' ) . '/showcase/';
$random_files = Utils::glob( $random_dir . '*.{php,htm,html,xhtml}', GLOB_BRACE );
 
$random_file = mt_rand(0, count( $random_files ) - 1 );
 
include( $random_file );
 
?>
 

Toggle wordwrap

Is this paste spam?

Login:

Recent Pastes:

About Pastoid:

Bookmarklet:

Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This