From: Evan Prodromou Date: Fri, 26 Sep 2008 16:15:40 +0000 (-0400) Subject: prepend Memcached_DataObject require with INSTALLDIR X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f6615f70e5278d22eb29cffb3f2273d19e75b71b;p=quix0rs-gnu-social.git prepend Memcached_DataObject require with INSTALLDIR darcs-hash:20080926161540-5ed1f-2e9dc6f2297c612208214a6d52f36ce0dd7aa4de.gz --- diff --git a/classes/Avatar.php b/classes/Avatar.php index ad5ccd7ba7..9bde929664 100644 --- a/classes/Avatar.php +++ b/classes/Avatar.php @@ -2,7 +2,7 @@ /** * Table Definition for avatar */ -require_once '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 9f28dda736..a913e029ec 100644 --- a/classes/Confirm_address.php +++ b/classes/Confirm_address.php @@ -2,7 +2,7 @@ /** * Table Definition for confirm_address */ -require_once '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 5e457a3fc3..7f64d3ea61 100644 --- a/classes/Consumer.php +++ b/classes/Consumer.php @@ -2,7 +2,7 @@ /** * Table Definition for consumer */ -require_once '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 67cdf2cca4..d6b7da7e98 100644 --- a/classes/Fave.php +++ b/classes/Fave.php @@ -2,7 +2,7 @@ /** * Table Definition for fave */ -require_once '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 ba6624d069..396e64fabc 100644 --- a/classes/Foreign_link.php +++ b/classes/Foreign_link.php @@ -2,7 +2,7 @@ /** * Table Definition for foreign_link */ -require_once '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 61aa4616eb..5bfd98e321 100644 --- a/classes/Foreign_service.php +++ b/classes/Foreign_service.php @@ -2,7 +2,7 @@ /** * Table Definition for foreign_service */ -require_once '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 742ea33338..90dbb005b6 100644 --- a/classes/Foreign_subscription.php +++ b/classes/Foreign_subscription.php @@ -2,7 +2,7 @@ /** * Table Definition for foreign_subscription */ -require_once '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 f1ad6e6dc2..156de111dc 100644 --- a/classes/Foreign_user.php +++ b/classes/Foreign_user.php @@ -2,7 +2,7 @@ /** * Table Definition for foreign_user */ -require_once '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 a025d10b14..c9b36ff095 100644 --- a/classes/Invitation.php +++ b/classes/Invitation.php @@ -2,7 +2,7 @@ /** * Table Definition for invitation */ -require_once 'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'classes/Memcached_DataObject.php'; class Invitation extends Memcached_DataObject { diff --git a/classes/Memcached_Object.php b/classes/Memcached_Object.php index a11c9883ff..e41613c91c 100644 --- a/classes/Memcached_Object.php +++ b/classes/Memcached_Object.php @@ -19,7 +19,7 @@ if (!defined('LACONICA')) { exit(1); } -require_once '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 12ec10846b..79d810564c 100644 --- a/classes/Message.php +++ b/classes/Message.php @@ -2,7 +2,7 @@ /** * Table Definition for message */ -require_once '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 258726c1e3..b3ca8c1106 100644 --- a/classes/Nonce.php +++ b/classes/Nonce.php @@ -2,7 +2,7 @@ /** * Table Definition for nonce */ -require_once '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 4af81f9190..a66efb8f46 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -22,7 +22,7 @@ if (!defined('LACONICA')) { exit(1); } /** * Table Definition for notice */ -require_once '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 b05ee9f56e..88def77c8e 100644 --- a/classes/Notice_source.php +++ b/classes/Notice_source.php @@ -2,7 +2,7 @@ /** * Table Definition for notice_source */ -require_once '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 5dca41a7ab..69ec8bcecf 100644 --- a/classes/Notice_tag.php +++ b/classes/Notice_tag.php @@ -2,7 +2,7 @@ /** * Table Definition for notice_tag */ -require_once '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 ab1880470a..1a7e672e6c 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -22,7 +22,7 @@ if (!defined('LACONICA')) { exit(1); } /** * Table Definition for profile */ -require_once '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 2fb5b2920a..c5288eda38 100644 --- a/classes/Queue_item.php +++ b/classes/Queue_item.php @@ -2,7 +2,7 @@ /** * Table Definition for queue_item */ -require_once '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 9c86ebf020..6aa35e16b2 100644 --- a/classes/Remember_me.php +++ b/classes/Remember_me.php @@ -2,7 +2,7 @@ /** * Table Definition for remember_me */ -require_once '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 5afc85d209..5b62094fca 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 '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 2c364ecaea..f5c4a633a6 100644 --- a/classes/Reply.php +++ b/classes/Reply.php @@ -2,7 +2,7 @@ /** * Table Definition for reply */ -require_once '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 10ccb92837..8cf27ca43b 100644 --- a/classes/Sms_carrier.php +++ b/classes/Sms_carrier.php @@ -2,7 +2,7 @@ /** * Table Definition for sms_carrier */ -require_once '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 cf6a3e57eb..7e6ac35285 100644 --- a/classes/Subscription.php +++ b/classes/Subscription.php @@ -22,7 +22,7 @@ if (!defined('LACONICA')) { exit(1); } /** * Table Definition for subscription */ -require_once '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 ef7ee20c06..420efa0e36 100644 --- a/classes/Token.php +++ b/classes/Token.php @@ -2,7 +2,7 @@ /** * Table Definition for token */ -require_once '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 ec57e52a97..c58ef2f72a 100644 --- a/classes/User.php +++ b/classes/User.php @@ -27,7 +27,7 @@ define('WITHFRIENDS_CACHE_WINDOW', 61); /** * Table Definition for user */ -require_once '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 b65685ce79..927476c76b 100644 --- a/classes/User_openid.php +++ b/classes/User_openid.php @@ -2,7 +2,7 @@ /** * Table Definition for user_openid */ -require_once 'classes/Memcached_DataObject.php'; +require_once INSTALLDIR.'classes/Memcached_DataObject.php'; class User_openid extends Memcached_DataObject {