<?php
+header('HTTP/1.0 500 Internal Server Error');
+
$rootDir = dirname(__FILE__, 2);
$tplDir = $rootDir . '/templates';
}
if ($code === 'success') {
+ header('HTTP/1.0 200 OK');
require $tplDir . '/activate-success.phtml';
exit();
}
}
if ($gamestick === null) {
+ header('HTTP/1.0 200 OK');
require $tplDir . '/activate-code.phtml';
exit();
}
}
if (!$input['submit'] || count($errors)) {
+ header('HTTP/1.0 200 OK');
require $tplDir . '/activate-profile.phtml';
exit();
}
unset($input['submit']);
$user = $user->update($input);
+header('HTTP/1.0 200 OK');
require $tplDir . '/activate-success.phtml';