Skip to content

Instantly share code, notes, and snippets.

View valendesigns's full-sized avatar

Derek Herman valendesigns

View GitHub Profile

Keybase proof

I hereby claim:

  • I am valendesigns on github.
  • I am valendesigns (https://keybase.io/valendesigns) on keybase.
  • I have a public key ASBdxQqP6OBS6JLEmHUnS7LHBbkA2burAk4HKzZJ-rZq0Qo

To claim this, I am signing this object:

@valendesigns
valendesigns / two-factor-logo.svg
Last active September 9, 2015 18:29 — forked from aaroncampbell/two-factor-logo.svg
Two Factor Logo - SVG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
/*
* Tries to include a file by searching up the directory structure.
* This can be any file, just change the $file variable to work for your needs.
*/
$file = 'wp-blog-header.php';
for( $i = 0; $i < 10; $i++ )
{
if( file_exists( $file ) )
{
require_once( $file );