This commit has been accessed 618 times via Git panel.
commit 09471ab97998311713b903f11b785cfc1c03e217
tree 84c17fec84af2ae74535887d452499411cd479af
parent 2e211835e5817d140c2b5a9e5d44fcfd2c83a77c
author Psylocke Antonio <psylocke@majcms.org> 1307321970 +0800
committer Psylocke Antonio <psylocke@majcms.org> 1307321970 +0800
Fix member file and image upload support in add.php
diff --git a/add.php b/add.php
index f20abfe..907220d 100644
--- a/add.php
+++ b/add.php
@@ -141,7 +141,7 @@ a:active {
<p>
<?php
- if ($_SESSION['logged_in'] != file_get_contents("data/username.txt") and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/members/active/{$_SESSION['logged_in']}/ul.txt")) {
+ if ($_SESSION['logged_in'] != file_get_contents("data/username.txt") and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/members/active/{$_SESSION['logged_in']}/bb-ul.txt")) {
?>
<p><input type="hidden" name="MAX_FILE_SIZE" value="<?php
tree 84c17fec84af2ae74535887d452499411cd479af
parent 2e211835e5817d140c2b5a9e5d44fcfd2c83a77c
author Psylocke Antonio <psylocke@majcms.org> 1307321970 +0800
committer Psylocke Antonio <psylocke@majcms.org> 1307321970 +0800
Fix member file and image upload support in add.php
diff --git a/add.php b/add.php
index f20abfe..907220d 100644
--- a/add.php
+++ b/add.php
@@ -141,7 +141,7 @@ a:active {
<p>
<?php
- if ($_SESSION['logged_in'] != file_get_contents("data/username.txt") and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/members/active/{$_SESSION['logged_in']}/ul.txt")) {
+ if ($_SESSION['logged_in'] != file_get_contents("data/username.txt") and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/members/active/{$_SESSION['logged_in']}/bb-ul.txt")) {
?>
<p><input type="hidden" name="MAX_FILE_SIZE" value="<?php