Skip to content

Instantly share code, notes, and snippets.

@jmhobbs
Created April 27, 2010 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmhobbs/381002 to your computer and use it in GitHub Desktop.
Save jmhobbs/381002 to your computer and use it in GitHub Desktop.
Storytlr No Cron Updater
<?php
header( 'Content-type: text/plain' );
ini_set( 'output_buffering', 'Off' );
error_reporting( E_ALL & ~E_NOTICE & ~E_WARNING );
ini_set( 'display_errors', 0 );
$argc = 2;
$argv = array( 'update.php', 'admin' );
print "Starting Update\n\n";
flush();
require_once( "protected/tools/update.php" );
flush();
print "\n\nDone";
flush();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment