25 lines
452 B
PHP
Executable File
25 lines
452 B
PHP
Executable File
<?php
|
|
error_reporting(E_ERROR | E_PARSE);
|
|
ini_set('display_errors',true);
|
|
|
|
$a = (object)getopt('s::c::r::f::e::');
|
|
|
|
if ($a->s) {
|
|
sleep($a->s / 1000); // ms
|
|
}
|
|
|
|
// include our libraries AFTER the nap, so we dont keep mysql or our memory awake
|
|
require_once(dirname(__FILE__).'/../include/crunchbutton.php');
|
|
|
|
if ($a->r) {
|
|
eval($a->r);
|
|
}
|
|
|
|
if ($a->c) {
|
|
$c = unserialize(base64_decode($a->c));
|
|
$c->__invoke();
|
|
}
|
|
|
|
if ($a->f) {
|
|
require_once('./'.$a->f);
|
|
} |