aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 757b4685d..186873a7b 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -657,6 +657,10 @@ function photos_content(&$a) {
// photos/name/image/xxxxx/edit
+ require_once('include/bbcode.php');
+ require_once('include/security.php');
+ require_once('include/conversation.php');
+
if(! x($a->data,'user')) {
notice( t('No photos selected') . EOL );
return;
@@ -893,8 +897,7 @@ function photos_content(&$a) {
if($datatype === 'image') {
- require_once('security.php');
- require_once('bbcode.php');
+
$o = '<div id="live-display"></div>' . "\r\n";
// fetch image, item containing image, then comments