Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Preparing Icy Phoenix 2.0 Beta 2

  • Loading branch information...
commit 881f5ab5fe4b69fe7971210a67a9963352aa8950 1 parent 2b0c89f
@MightyGorgon authored
View
6 trunk/activity/ip_root/plugins/activity/activity_top_five.php
@@ -194,9 +194,9 @@
$t = 1;
$q = "SELECT COUNT(sender_id) AS total, sender_id
FROM ". INA_GAMBLE ."
- GROUP BY sender_id
- ORDER BY total DESC
- LIMIT 0, 5";
+ GROUP BY sender_id
+ ORDER BY total DESC
+ LIMIT 0, 5";
$r = $db->sql_query($q);
while ($row = $db->sql_fetchrow($r))
{
View
4 trunk/feedback/ip_root/plugins/feedback/common.php
@@ -36,8 +36,8 @@
}
$class_plugins->setup_lang($config['plugins'][$plugin_name]['dir']);
-include(IP_ROOT_PATH . 'includes/class_form.' . PHP_EXT);
-$class_form = new class_form();
+if (!class_exists('class_form')) include(IP_ROOT_PATH . 'includes/class_form.' . PHP_EXT);
+if (empty($class_form)) $class_form = new class_form();
include_once(FEEDBACK_ROOT_PATH . 'includes/functions_feedback.' . PHP_EXT);
View
3  trunk/guestbooks/ip_root/plugins/guestbooks/adm/admin_guestbooks.php
@@ -30,9 +30,6 @@
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
require(IP_ROOT_PATH . 'adm/pagestart.' . PHP_EXT);
-include(IP_ROOT_PATH . 'includes/class_form.' . PHP_EXT);
-$class_form = new class_form();
-
// SETTINGS - BEGIN
$is_plugin = true;
$settings_basename = $plugin_name;
View
14 trunk/guestbooks/ip_root/plugins/guestbooks/common.php
@@ -54,17 +54,11 @@
$class_plugins = new class_plugins();
$class_plugins->setup_lang($config['plugins'][$plugin_name]['dir']);
-if (!class_exists('class_form'))
-{
- include(IP_ROOT_PATH . 'includes/class_form.' . PHP_EXT);
-}
-$class_form = new class_form();
+if (!class_exists('class_form')) include(IP_ROOT_PATH . 'includes/class_form.' . PHP_EXT);
+if (empty($class_form)) $class_form = new class_form();
-if (!class_exists('class_db'))
-{
- include(IP_ROOT_PATH . 'includes/class_db.' . PHP_EXT);
-}
-$class_db = new class_db();
+if (!class_exists('class_db')) include(IP_ROOT_PATH . 'includes/class_db.' . PHP_EXT);
+if (empty($class_db)) $class_db = new class_db();
if (!class_exists('class_guestbooks'))
{
Please sign in to comment.
Something went wrong with that request. Please try again.