mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Added a few modifications to rr
This commit is contained in:
parent
ebf6c26e0a
commit
a4512ceae2
@ -50,10 +50,10 @@ if (is_ajax ()) {
|
|||||||
else {
|
else {
|
||||||
if (file_exists($dir) && is_dir($dir)) {
|
if (file_exists($dir) && is_dir($dir)) {
|
||||||
if (is_readable($dir)) {
|
if (is_readable($dir)) {
|
||||||
if (($number >= $config['MR'] + 1) || ($number == $config['MR'])) {
|
if (($number > $config['MR'] + 1) || ($number == $config['MR'])) {
|
||||||
$message = "bad_mr_filename";
|
$message = "bad_mr_filename";
|
||||||
}
|
}
|
||||||
else if ($config["MR"] >= $number) {
|
else if ($config["MR"] > $number) {
|
||||||
if (!file_exists($dir."/updated") || !is_dir($dir."/updated")) {
|
if (!file_exists($dir."/updated") || !is_dir($dir."/updated")) {
|
||||||
mkdir($dir."/updated");
|
mkdir($dir."/updated");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user