aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/cron.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-08-25 15:15:53 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-08-25 15:15:53 +0000
commite7cbcfe874d663703a4f6d36974aa8eb19a59c58 (patch)
tree869419df21717eb48599fe429350636bad0da249 /phpBB/cron.php
parentd1ae8c52a4fc4ab88f34347962ac667a0365f8a9 (diff)
downloadforums-e7cbcfe874d663703a4f6d36974aa8eb19a59c58.tar
forums-e7cbcfe874d663703a4f6d36974aa8eb19a59c58.tar.gz
forums-e7cbcfe874d663703a4f6d36974aa8eb19a59c58.tar.bz2
forums-e7cbcfe874d663703a4f6d36974aa8eb19a59c58.tar.xz
forums-e7cbcfe874d663703a4f6d36974aa8eb19a59c58.zip
some fixes.
David, could you check the pass_complex expressions? They are: .* PASS_TYPE_ANY (any characters are allowed, no check) [a-zA-Z] PASS_TYPE_CASE (password must contain alphanumerics) [a-zA-Z0-9] PASS_TYPE_ALPHA (password must contain alphanumerics and numbers) [a-zA-Z\W] PASS_TYPE_SYMBOL (password must contain alphanumers, numbers and symbols) At the moment the pass complexity check is done within validate_password(), but the expressions are wrong. :) git-svn-id: file:///svn/phpbb/trunk@6317 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r--phpBB/cron.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index 38bcd38d3e..99a8b42955 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -23,6 +23,15 @@ $auth->acl($user->data);
$cron_type = request_var('cron_type', '');
$use_shutdown_function = (@function_exists('register_shutdown_function')) ? true : false;
+// Output transparent gif
+header('Cache-Control: no-cache');
+header('Content-type: image/gif');
+header('Content-length: 43');
+
+echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
+
+flush();
+
/**
* Run cron-like action
* Real cron-based layer will be introduced in 3.2
@@ -217,14 +226,6 @@ else
garbage_collection();
}
-// Output transparent gif
-header('Cache-Control: no-cache');
-header('Content-type: image/gif');
-header('Content-length: 43');
-
-echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
-
-flush();
exit;
?> \ No newline at end of file