From: Evan Prodromou Date: Fri, 26 Sep 2008 16:18:24 +0000 (-0400) Subject: path correct in require_once for memcached X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8da61dc1d36e2ac600a50450038ce69d458b0e7b;p=quix0rs-gnu-social.git path correct in require_once for memcached darcs-hash:20080926161824-5ed1f-b4fb53e5ca65bb099aabbba6ea60a13496f669a2.gz --- diff --git a/classes/Avatar.php b/classes/Avatar.php index 9bde929664..fc2361e2f5 100644 --- a/classes/Avatar.php +++ b/classes/Avatar.php @@ -2,7 +2,7 @@ /** * Table Definition for avatar */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Avatar extends Memcached_DataObject { diff --git a/classes/Confirm_address.php b/classes/Confirm_address.php index a913e029ec..10661ff5ce 100644 --- a/classes/Confirm_address.php +++ b/classes/Confirm_address.php @@ -2,7 +2,7 @@ /** * Table Definition for confirm_address */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Confirm_address extends Memcached_DataObject { diff --git a/classes/Consumer.php b/classes/Consumer.php index 7f64d3ea61..d18e6feeb9 100644 --- a/classes/Consumer.php +++ b/classes/Consumer.php @@ -2,7 +2,7 @@ /** * Table Definition for consumer */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Consumer extends Memcached_DataObject { diff --git a/classes/Fave.php b/classes/Fave.php index d6b7da7e98..5c42d8b483 100644 --- a/classes/Fave.php +++ b/classes/Fave.php @@ -2,7 +2,7 @@ /** * Table Definition for fave */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Fave extends Memcached_DataObject { diff --git a/classes/Foreign_link.php b/classes/Foreign_link.php index 396e64fabc..1ba74e74fa 100644 --- a/classes/Foreign_link.php +++ b/classes/Foreign_link.php @@ -2,7 +2,7 @@ /** * Table Definition for foreign_link */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Foreign_link extends Memcached_DataObject { diff --git a/classes/Foreign_service.php b/classes/Foreign_service.php index 5bfd98e321..18ef83d699 100644 --- a/classes/Foreign_service.php +++ b/classes/Foreign_service.php @@ -2,7 +2,7 @@ /** * Table Definition for foreign_service */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Foreign_service extends Memcached_DataObject { diff --git a/classes/Foreign_subscription.php b/classes/Foreign_subscription.php index 90dbb005b6..3150640672 100644 --- a/classes/Foreign_subscription.php +++ b/classes/Foreign_subscription.php @@ -2,7 +2,7 @@ /** * Table Definition for foreign_subscription */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Foreign_subscription extends Memcached_DataObject { diff --git a/classes/Foreign_user.php b/classes/Foreign_user.php index 156de111dc..d70923caa5 100644 --- a/classes/Foreign_user.php +++ b/classes/Foreign_user.php @@ -2,7 +2,7 @@ /** * Table Definition for foreign_user */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Foreign_user extends Memcached_DataObject { diff --git a/classes/Invitation.php b/classes/Invitation.php index c9b36ff095..1477391b0e 100644 --- a/classes/Invitation.php +++ b/classes/Invitation.php @@ -2,7 +2,7 @@ /** * Table Definition for invitation */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Invitation extends Memcached_DataObject { diff --git a/classes/Memcached_DataObject.php b/classes/Memcached_DataObject.php index e41613c91c..9115898ff3 100644 --- a/classes/Memcached_DataObject.php +++ b/classes/Memcached_DataObject.php @@ -19,7 +19,7 @@ if (!defined('LACONICA')) { exit(1); } -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Memcached_DataObject extends DB_DataObject { diff --git a/classes/Message.php b/classes/Message.php index 79d810564c..8674f7f80c 100644 --- a/classes/Message.php +++ b/classes/Message.php @@ -2,7 +2,7 @@ /** * Table Definition for message */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Message extends Memcached_DataObject { diff --git a/classes/Nonce.php b/classes/Nonce.php index b3ca8c1106..89d673c532 100644 --- a/classes/Nonce.php +++ b/classes/Nonce.php @@ -2,7 +2,7 @@ /** * Table Definition for nonce */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Nonce extends Memcached_DataObject { diff --git a/classes/Notice.php b/classes/Notice.php index a66efb8f46..c60237ffb0 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -22,7 +22,7 @@ if (!defined('LACONICA')) { exit(1); } /** * Table Definition for notice */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Notice extends Memcached_DataObject { diff --git a/classes/Notice_source.php b/classes/Notice_source.php index 88def77c8e..e0a41b927c 100644 --- a/classes/Notice_source.php +++ b/classes/Notice_source.php @@ -2,7 +2,7 @@ /** * Table Definition for notice_source */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Notice_source extends Memcached_DataObject { diff --git a/classes/Notice_tag.php b/classes/Notice_tag.php index 69ec8bcecf..7f950d9463 100644 --- a/classes/Notice_tag.php +++ b/classes/Notice_tag.php @@ -2,7 +2,7 @@ /** * Table Definition for notice_tag */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Notice_tag extends Memcached_DataObject { diff --git a/classes/Profile.php b/classes/Profile.php index 1a7e672e6c..1dffbd573f 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -22,7 +22,7 @@ if (!defined('LACONICA')) { exit(1); } /** * Table Definition for profile */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Profile extends Memcached_DataObject { diff --git a/classes/Queue_item.php b/classes/Queue_item.php index c5288eda38..8ba3281de3 100644 --- a/classes/Queue_item.php +++ b/classes/Queue_item.php @@ -2,7 +2,7 @@ /** * Table Definition for queue_item */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Queue_item extends Memcached_DataObject { diff --git a/classes/Remember_me.php b/classes/Remember_me.php index 6aa35e16b2..5bbd6cf174 100644 --- a/classes/Remember_me.php +++ b/classes/Remember_me.php @@ -2,7 +2,7 @@ /** * Table Definition for remember_me */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Remember_me extends Memcached_DataObject { diff --git a/classes/Remote_profile.php b/classes/Remote_profile.php index 5b62094fca..c961dcca2e 100644 --- a/classes/Remote_profile.php +++ b/classes/Remote_profile.php @@ -22,7 +22,7 @@ if (!defined('LACONICA')) { exit(1); } /** * Table Definition for remote_profile */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Remote_profile extends Memcached_DataObject { diff --git a/classes/Reply.php b/classes/Reply.php index f5c4a633a6..d71ce3afbc 100644 --- a/classes/Reply.php +++ b/classes/Reply.php @@ -2,7 +2,7 @@ /** * Table Definition for reply */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Reply extends Memcached_DataObject { diff --git a/classes/Sms_carrier.php b/classes/Sms_carrier.php index 8cf27ca43b..6ecb513468 100644 --- a/classes/Sms_carrier.php +++ b/classes/Sms_carrier.php @@ -2,7 +2,7 @@ /** * Table Definition for sms_carrier */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Sms_carrier extends Memcached_DataObject { diff --git a/classes/Subscription.php b/classes/Subscription.php index 7e6ac35285..deb01eb47c 100644 --- a/classes/Subscription.php +++ b/classes/Subscription.php @@ -22,7 +22,7 @@ if (!defined('LACONICA')) { exit(1); } /** * Table Definition for subscription */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Subscription extends Memcached_DataObject { diff --git a/classes/Token.php b/classes/Token.php index 420efa0e36..d180ecebeb 100644 --- a/classes/Token.php +++ b/classes/Token.php @@ -2,7 +2,7 @@ /** * Table Definition for token */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Token extends Memcached_DataObject { diff --git a/classes/User.php b/classes/User.php index c58ef2f72a..94fcff9c8e 100644 --- a/classes/User.php +++ b/classes/User.php @@ -27,7 +27,7 @@ define('WITHFRIENDS_CACHE_WINDOW', 61); /** * Table Definition for user */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; require_once 'Validate.php'; require_once(INSTALLDIR.'/lib/noticewrapper.php'); diff --git a/classes/User_openid.php b/classes/User_openid.php index 927476c76b..ad68f74024 100644 --- a/classes/User_openid.php +++ b/classes/User_openid.php @@ -2,7 +2,7 @@ /** * Table Definition for user_openid */ -require_once INSTALLDIR.'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class User_openid extends Memcached_DataObject {