[pLog-svn] r4086 - in plog/trunk/class: . action action/admin
action/admin/chooser bayesian cache cache/Cache_Lite config
controller dao dao/customfields dao/userdata data
data/captcha data/forms data/validator data/validator/rules
database database/pdb database/pdb/datadict
database/pdb/drivers file file/finder file/unpacker
gallery/dao gallery/data gallery/getid3 gallery/resizers
gallery/template locale logger logger/appender logger/config
logger/layout logger/logger mail mail/phpmailer misc net
net/http net/http/session net/xmlrpc object plugin security
summary/action summary/controller summary/dao summary/data
summary/data/validator summary/mail summary/view template
template/menu template/templatesets test test/PHPUnit
test/PHPUnit/GUI test/helpers test/tests/config
test/tests/dao test/tests/data test/tests/data/validator
test/tests/data/validator/rules test/tests/extra
test/tests/file/unpacker test/tests/mail
test/tests/mail/phpmailer test/tests/net test/tests/net/http
test/tests/net/xmlrpc test/tests/summary/action
test/tests/summary/dao test/tests/summary/data view
view/admin view/admin/chooser xml/rssparser
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Wed Oct 4 19:48:54 GMT 2006
Author: oscar
Date: 2006-10-04 19:48:52 +0000 (Wed, 04 Oct 2006)
New Revision: 4086
Modified:
plog/trunk/class/action/action.class.php
plog/trunk/class/action/addcommentaction.class.php
plog/trunk/class/action/addtrackbackaction.class.php
plog/trunk/class/action/admin/adminaction.class.php
plog/trunk/class/action/admin/adminaddarticlecategoryaction.class.php
plog/trunk/class/action/admin/adminaddarticlecategoryajaxaction.class.php
plog/trunk/class/action/admin/adminaddblogaction.class.php
plog/trunk/class/action/admin/adminaddblogcategoryaction.class.php
plog/trunk/class/action/admin/adminaddblogtemplateaction.class.php
plog/trunk/class/action/admin/adminaddbloguseraction.class.php
plog/trunk/class/action/admin/adminaddcustomfieldaction.class.php
plog/trunk/class/action/admin/adminaddglobalarticlecategoryaction.class.php
plog/trunk/class/action/admin/adminaddlinkaction.class.php
plog/trunk/class/action/admin/adminaddlinkcategoryaction.class.php
plog/trunk/class/action/admin/adminaddlocaleaction.class.php
plog/trunk/class/action/admin/adminaddpermissionaction.class.php
plog/trunk/class/action/admin/adminaddpostaction.class.php
plog/trunk/class/action/admin/adminaddresourceaction.class.php
plog/trunk/class/action/admin/adminaddresourcealbumaction.class.php
plog/trunk/class/action/admin/adminaddtemplateaction.class.php
plog/trunk/class/action/admin/adminadduseraction.class.php
plog/trunk/class/action/admin/adminadminblogselectaction.class.php
plog/trunk/class/action/admin/adminblogcategoriesaction.class.php
plog/trunk/class/action/admin/adminblogcustomfieldsaction.class.php
plog/trunk/class/action/admin/adminblogsecurityaction.class.php
plog/trunk/class/action/admin/adminblogsettingsaction.class.php
plog/trunk/class/action/admin/adminchangecommentsstatusaction.class.php
plog/trunk/class/action/admin/adminchangegalleryitemsalbumaction.class.php
plog/trunk/class/action/admin/adminchangelinkscategoryaction.class.php
plog/trunk/class/action/admin/adminchangepostscategoryaction.class.php
plog/trunk/class/action/admin/adminchangepostsstatusaction.class.php
plog/trunk/class/action/admin/adminchangetrackbacksstatusaction.class.php
plog/trunk/class/action/admin/admincleanupaction.class.php
plog/trunk/class/action/admin/admincontrolcenteraction.class.php
plog/trunk/class/action/admin/admincreateblogaction.class.php
plog/trunk/class/action/admin/admincreateuseraction.class.php
plog/trunk/class/action/admin/admindefaultaction.class.php
plog/trunk/class/action/admin/admindeletearticlecategoryaction.class.php
plog/trunk/class/action/admin/admindeleteblogaction.class.php
plog/trunk/class/action/admin/admindeleteblogcategoryaction.class.php
plog/trunk/class/action/admin/admindeleteblogtemplateaction.class.php
plog/trunk/class/action/admin/admindeletebloguserpermissionsaction.class.php
plog/trunk/class/action/admin/admindeletecommentaction.class.php
plog/trunk/class/action/admin/admindeletecustomfieldsaction.class.php
plog/trunk/class/action/admin/admindeletegalleryitemsaction.class.php
plog/trunk/class/action/admin/admindeleteglobalarticlecategoryaction.class.php
plog/trunk/class/action/admin/admindeletelinkaction.class.php
plog/trunk/class/action/admin/admindeletelinkcategoryaction.class.php
plog/trunk/class/action/admin/admindeletelocalesaction.class.php
plog/trunk/class/action/admin/admindeletepermissionsaction.class.php
plog/trunk/class/action/admin/admindeletepostaction.class.php
plog/trunk/class/action/admin/admindeletereferreraction.class.php
plog/trunk/class/action/admin/admindeleteresourceaction.class.php
plog/trunk/class/action/admin/admindeleteresourcealbumaction.class.php
plog/trunk/class/action/admin/admindeletetemplatesaction.class.php
plog/trunk/class/action/admin/admindeletetrackbackaction.class.php
plog/trunk/class/action/admin/admindeleteusersaction.class.php
plog/trunk/class/action/admin/admindoregisterblogaction.class.php
plog/trunk/class/action/admin/admineditarticlecategoriesaction.class.php
plog/trunk/class/action/admin/admineditarticlecategoryaction.class.php
plog/trunk/class/action/admin/admineditblogaction.class.php
plog/trunk/class/action/admin/admineditblogcategoryaction.class.php
plog/trunk/class/action/admin/admineditblogtemplatesaction.class.php
plog/trunk/class/action/admin/admineditcommentsaction.class.php
plog/trunk/class/action/admin/admineditcustomfieldaction.class.php
plog/trunk/class/action/admin/admineditglobalarticlecategoriesaction.class.php
plog/trunk/class/action/admin/admineditglobalarticlecategoryaction.class.php
plog/trunk/class/action/admin/admineditlinkaction.class.php
plog/trunk/class/action/admin/admineditlinkcategoriesaction.class.php
plog/trunk/class/action/admin/admineditlinkcategoryaction.class.php
plog/trunk/class/action/admin/admineditlinksaction.class.php
plog/trunk/class/action/admin/admineditpostaction.class.php
plog/trunk/class/action/admin/admineditpostsaction.class.php
plog/trunk/class/action/admin/admineditresourcealbumaction.class.php
plog/trunk/class/action/admin/adminedittemplatesaction.class.php
plog/trunk/class/action/admin/adminedittrackbacksaction.class.php
plog/trunk/class/action/admin/adminemptyaction.class.php
plog/trunk/class/action/admin/adminglobalsettingsaction.class.php
plog/trunk/class/action/admin/adminloginaction.class.php
plog/trunk/class/action/admin/adminlogoutaction.class.php
plog/trunk/class/action/admin/adminmainaction.class.php
plog/trunk/class/action/admin/adminmanageaction.class.php
plog/trunk/class/action/admin/adminmarkcommentaction.class.php
plog/trunk/class/action/admin/adminmarktrackbackaction.class.php
plog/trunk/class/action/admin/adminnewarticlecategoryaction.class.php
plog/trunk/class/action/admin/adminnewblogcategoryaction.class.php
plog/trunk/class/action/admin/adminnewblogtemplateaction.class.php
plog/trunk/class/action/admin/adminnewbloguseraction.class.php
plog/trunk/class/action/admin/adminnewcustomfieldaction.class.php
plog/trunk/class/action/admin/adminnewglobalarticlecategoryaction.class.php
plog/trunk/class/action/admin/adminnewlinkaction.class.php
plog/trunk/class/action/admin/adminnewlinkcategoryaction.class.php
plog/trunk/class/action/admin/adminnewlocaleaction.class.php
plog/trunk/class/action/admin/adminnewpermissionaction.class.php
plog/trunk/class/action/admin/adminnewpostaction.class.php
plog/trunk/class/action/admin/adminnewresourceaction.class.php
plog/trunk/class/action/admin/adminnewresourcealbumaction.class.php
plog/trunk/class/action/admin/adminnewtemplateaction.class.php
plog/trunk/class/action/admin/adminpermissionslistaction.class.php
plog/trunk/class/action/admin/adminplugincenteraction.class.php
plog/trunk/class/action/admin/adminpostmanagementcommonaction.class.php
plog/trunk/class/action/admin/adminpoststatsaction.class.php
plog/trunk/class/action/admin/adminpreviewpostaction.class.php
plog/trunk/class/action/admin/adminregeneratepreviewaction.class.php
plog/trunk/class/action/admin/adminregisterblogaction.class.php
plog/trunk/class/action/admin/adminresendconfirmationaction.class.php
plog/trunk/class/action/admin/adminresourcealbumsaction.class.php
plog/trunk/class/action/admin/adminresourceinfoaction.class.php
plog/trunk/class/action/admin/adminresourcesaction.class.php
plog/trunk/class/action/admin/adminresourcesgroupaction.class.php
plog/trunk/class/action/admin/adminsavedraftarticleajaxaction.class.php
plog/trunk/class/action/admin/adminsendtrackbacksaction.class.php
plog/trunk/class/action/admin/adminshowblogusersaction.class.php
plog/trunk/class/action/admin/adminsiteblogsaction.class.php
plog/trunk/class/action/admin/adminsitelocalesaction.class.php
plog/trunk/class/action/admin/adminsitesettingsaction.class.php
plog/trunk/class/action/admin/adminsiteusersaction.class.php
plog/trunk/class/action/admin/adminstatisticsaction.class.php
plog/trunk/class/action/admin/adminupdatearticlecategoryaction.class.php
plog/trunk/class/action/admin/adminupdateblogcategoryaction.class.php
plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php
plog/trunk/class/action/admin/adminupdatecustomfieldaction.class.php
plog/trunk/class/action/admin/adminupdateeditblogaction.class.php
plog/trunk/class/action/admin/adminupdateglobalarticlecategoryaction.class.php
plog/trunk/class/action/admin/adminupdateglobalsettingsaction.class.php
plog/trunk/class/action/admin/adminupdatelinkaction.class.php
plog/trunk/class/action/admin/adminupdatelinkcategoryaction.class.php
plog/trunk/class/action/admin/adminupdatepostaction.class.php
plog/trunk/class/action/admin/adminupdateresourceaction.class.php
plog/trunk/class/action/admin/adminupdateresourcealbumaction.class.php
plog/trunk/class/action/admin/adminupdateuserprofileaction.class.php
plog/trunk/class/action/admin/adminupdateusersettingsaction.class.php
plog/trunk/class/action/admin/adminuserprofileaction.class.php
plog/trunk/class/action/admin/adminusersettingsaction.class.php
plog/trunk/class/action/admin/adminxmlpingaction.class.php
plog/trunk/class/action/admin/blogowneradminaction.class.php
plog/trunk/class/action/admin/chooser/adminblogchooseraction.class.php
plog/trunk/class/action/admin/chooser/adminblogtemplatechooseraction.class.php
plog/trunk/class/action/admin/chooser/adminresourcelistaction.class.php
plog/trunk/class/action/admin/chooser/adminuserchooseraction.class.php
plog/trunk/class/action/admin/chooser/adminuserpictureselectaction.class.php
plog/trunk/class/action/admin/siteadminaction.class.php
plog/trunk/class/action/blogaction.class.php
plog/trunk/class/action/commentaction.class.php
plog/trunk/class/action/defaultaction.class.php
plog/trunk/class/action/resourceserveraction.class.php
plog/trunk/class/action/rssaction.class.php
plog/trunk/class/action/searchaction.class.php
plog/trunk/class/action/templateaction.class.php
plog/trunk/class/action/viewalbumaction.class.php
plog/trunk/class/action/viewarticleaction.class.php
plog/trunk/class/action/viewarticletrackbacksaction.class.php
plog/trunk/class/action/viewresourceaction.class.php
plog/trunk/class/bayesian/bayesianfiltercore.class.php
plog/trunk/class/bayesian/bayesianfilterutils.class.php
plog/trunk/class/bayesian/bayesiantokenizer.class.php
plog/trunk/class/bootstrap.php
plog/trunk/class/cache/Cache_Lite/Lite.php
plog/trunk/class/cache/memcache.class.php
plog/trunk/class/config/config.class.php
plog/trunk/class/config/configdbstorage.class.php
plog/trunk/class/config/configfilestorage.class.php
plog/trunk/class/config/siteconfig.class.php
plog/trunk/class/controller/admincontroller.class.php
plog/trunk/class/controller/blogcontroller.class.php
plog/trunk/class/controller/controller.class.php
plog/trunk/class/controller/resourceclassloader.class.php
plog/trunk/class/controller/sequentialcontroller.class.php
plog/trunk/class/dao/archivelink.class.php
plog/trunk/class/dao/article.class.php
plog/trunk/class/dao/articlecategories.class.php
plog/trunk/class/dao/articlecategory.class.php
plog/trunk/class/dao/articlecomments.class.php
plog/trunk/class/dao/articlecommentstatus.class.php
plog/trunk/class/dao/articlenotification.class.php
plog/trunk/class/dao/articlenotifications.class.php
plog/trunk/class/dao/articles.class.php
plog/trunk/class/dao/articlestatus.class.php
plog/trunk/class/dao/bayesianfilterinfo.class.php
plog/trunk/class/dao/bayesianfilterinfos.class.php
plog/trunk/class/dao/bayesiantoken.class.php
plog/trunk/class/dao/bayesiantokens.class.php
plog/trunk/class/dao/blogcategories.class.php
plog/trunk/class/dao/blogcategory.class.php
plog/trunk/class/dao/bloginfo.class.php
plog/trunk/class/dao/bloglinks.class.php
plog/trunk/class/dao/blogs.class.php
plog/trunk/class/dao/blogsettings.class.php
plog/trunk/class/dao/blogstatus.class.php
plog/trunk/class/dao/commentscommon.class.php
plog/trunk/class/dao/customfields/customfield.class.php
plog/trunk/class/dao/customfields/customfieldcheckboxvalue.class.php
plog/trunk/class/dao/customfields/customfielddatevalue.class.php
plog/trunk/class/dao/customfields/customfieldlistvalue.class.php
plog/trunk/class/dao/customfields/customfields.class.php
plog/trunk/class/dao/customfields/customfieldsvalues.class.php
plog/trunk/class/dao/customfields/customfieldvalue.class.php
plog/trunk/class/dao/customfields/customfieldvaluefactory.class.php
plog/trunk/class/dao/globalarticlecategories.class.php
plog/trunk/class/dao/globalarticlecategory.class.php
plog/trunk/class/dao/model.class.php
plog/trunk/class/dao/mylink.class.php
plog/trunk/class/dao/mylinks.class.php
plog/trunk/class/dao/mylinkscategories.class.php
plog/trunk/class/dao/mylinkscategory.class.php
plog/trunk/class/dao/permission.class.php
plog/trunk/class/dao/permissions.class.php
plog/trunk/class/dao/recentarticles.class.php
plog/trunk/class/dao/referer.class.php
plog/trunk/class/dao/searchengine.class.php
plog/trunk/class/dao/sitestatistics.class.php
plog/trunk/class/dao/trackback.class.php
plog/trunk/class/dao/trackbackclient.class.php
plog/trunk/class/dao/trackbacks.class.php
plog/trunk/class/dao/usercomment.class.php
plog/trunk/class/dao/userdata/baseuserdataprovider.class.php
plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php
plog/trunk/class/dao/userdata/phpbb2userdataprovider.class.php
plog/trunk/class/dao/userdata/simplepostnukeuserdataprovider.class.php
plog/trunk/class/dao/userinfo.class.php
plog/trunk/class/dao/userpermission.class.php
plog/trunk/class/dao/userpermissions.class.php
plog/trunk/class/dao/users.class.php
plog/trunk/class/dao/userstatus.class.php
plog/trunk/class/data/captcha/captcha.class.php
plog/trunk/class/data/forms/formvalidator.class.php
plog/trunk/class/data/jalalicalendar.class.php
plog/trunk/class/data/plogcalendar.class.php
plog/trunk/class/data/textfilter.class.php
plog/trunk/class/data/timestamp.class.php
plog/trunk/class/data/validator/arrayvalidator.class.php
plog/trunk/class/data/validator/chainedvalidator.class.php
plog/trunk/class/data/validator/domainvalidator.class.php
plog/trunk/class/data/validator/emailvalidator.class.php
plog/trunk/class/data/validator/emptyvalidator.class.php
plog/trunk/class/data/validator/httpurlvalidator.class.php
plog/trunk/class/data/validator/integervalidator.class.php
plog/trunk/class/data/validator/ipmatchvalidator.class.php
plog/trunk/class/data/validator/passwordvalidator.class.php
plog/trunk/class/data/validator/rules/arrayrule.class.php
plog/trunk/class/data/validator/rules/emaildnsrule.class.php
plog/trunk/class/data/validator/rules/emailformatrule.class.php
plog/trunk/class/data/validator/rules/equalrule.class.php
plog/trunk/class/data/validator/rules/filteredpatternsrule.class.php
plog/trunk/class/data/validator/rules/filteredwordsrule.class.php
plog/trunk/class/data/validator/rules/intrangerule.class.php
plog/trunk/class/data/validator/rules/intrule.class.php
plog/trunk/class/data/validator/rules/ipcidrformatrule.class.php
plog/trunk/class/data/validator/rules/ipformatrule.class.php
plog/trunk/class/data/validator/rules/iprangerule.class.php
plog/trunk/class/data/validator/rules/nonemptyrule.class.php
plog/trunk/class/data/validator/rules/numericrule.class.php
plog/trunk/class/data/validator/rules/regexprule.class.php
plog/trunk/class/data/validator/rules/rule.class.php
plog/trunk/class/data/validator/rules/stringrangerule.class.php
plog/trunk/class/data/validator/rules/uintrule.class.php
plog/trunk/class/data/validator/rules/urlformatrule.class.php
plog/trunk/class/data/validator/stringvalidator.class.php
plog/trunk/class/data/validator/templatenamevalidator.class.php
plog/trunk/class/data/validator/templatesetvalidator.class.php
plog/trunk/class/data/validator/uploadvalidator.class.php
plog/trunk/class/data/validator/usernamevalidator.class.php
plog/trunk/class/data/validator/validator.class.php
plog/trunk/class/database/db.class.php
plog/trunk/class/database/pdb/datadict/pdbmysqldatadict.class.php
plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php
plog/trunk/class/database/pdb/drivers/pdbmysqldriver.class.php
plog/trunk/class/database/pdb/drivers/pdbmysqlrecordset.class.php
plog/trunk/class/database/pdb/pdb.class.php
plog/trunk/class/file/file.class.php
plog/trunk/class/file/fileproperties.class.php
plog/trunk/class/file/fileuploads.class.php
plog/trunk/class/file/finder/filefinder.class.php
plog/trunk/class/file/unpacker/rarunpacker.class.php
plog/trunk/class/file/unpacker/tarbz2unpacker.class.php
plog/trunk/class/file/unpacker/targzunpacker.class.php
plog/trunk/class/file/unpacker/unpacker.class.php
plog/trunk/class/file/unpacker/zipunpacker.class.php
plog/trunk/class/gallery/dao/galleryalbum.class.php
plog/trunk/class/gallery/dao/galleryalbums.class.php
plog/trunk/class/gallery/dao/galleryitemslist.class.php
plog/trunk/class/gallery/dao/galleryresource.class.php
plog/trunk/class/gallery/dao/galleryresourcequotas.class.php
plog/trunk/class/gallery/dao/galleryresources.class.php
plog/trunk/class/gallery/dao/galleryresourcestorage.class.php
plog/trunk/class/gallery/data/galleryresourcebasemetadatareader.class.php
plog/trunk/class/gallery/data/galleryresourceimagemetadatareader.class.php
plog/trunk/class/gallery/data/galleryresourcesoundmetadatareader.class.php
plog/trunk/class/gallery/data/galleryresourcevideometadatareader.class.php
plog/trunk/class/gallery/data/galleryresourcezipmetadatareader.class.php
plog/trunk/class/gallery/getid3/getid3.lib.php
plog/trunk/class/gallery/getid3/getid3.php
plog/trunk/class/gallery/getid3/module.archive.gzip.php
plog/trunk/class/gallery/getid3/write.php
plog/trunk/class/gallery/resizers/gallerygdresizer.class.php
plog/trunk/class/gallery/resizers/galleryimagemagickresizer.class.php
plog/trunk/class/gallery/resizers/gallerynullresizer.class.php
plog/trunk/class/gallery/resizers/galleryresizer.class.php
plog/trunk/class/gallery/resizers/gallerythumbnailgenerator.class.php
plog/trunk/class/gallery/template/gallerytemplatetools.class.php
plog/trunk/class/locale/locale.class.php
plog/trunk/class/locale/localefinder.class.php
plog/trunk/class/locale/locales.class.php
plog/trunk/class/locale/pluginlocale.class.php
plog/trunk/class/logger/appender/fileappender.class.php
plog/trunk/class/logger/appender/nullappender.class.php
plog/trunk/class/logger/appender/stdoutappender.class.php
plog/trunk/class/logger/config/loggerconfigloader.class.php
plog/trunk/class/logger/layout/patternlayout.class.php
plog/trunk/class/logger/logger/logger.class.php
plog/trunk/class/logger/loggermanager.class.php
plog/trunk/class/mail/emailservice.class.php
plog/trunk/class/mail/phpmailer/class.phpmailer.php
plog/trunk/class/misc/info.class.php
plog/trunk/class/misc/version.class.php
plog/trunk/class/net/baserequestgenerator.class.php
plog/trunk/class/net/customrequestgenerator.class.php
plog/trunk/class/net/customurlhandler.class.php
plog/trunk/class/net/dns.class.php
plog/trunk/class/net/http/httpcache.class.php
plog/trunk/class/net/http/session/sessioninfo.class.php
plog/trunk/class/net/http/session/sessionmanager.class.php
plog/trunk/class/net/http/subdomains.class.php
plog/trunk/class/net/linkformatmatcher.class.php
plog/trunk/class/net/modrewriterequestgenerator.class.php
plog/trunk/class/net/prettyrequestgenerator.class.php
plog/trunk/class/net/rawrequestgenerator.class.php
plog/trunk/class/net/request.class.php
plog/trunk/class/net/requestgenerator.class.php
plog/trunk/class/net/xmlrpc/xmlrpcserver.class.php
plog/trunk/class/net/xmlrpcclient.class.php
plog/trunk/class/object/loggable.class.php
plog/trunk/class/object/object.class.php
plog/trunk/class/plugin/pluginbase.class.php
plog/trunk/class/plugin/pluginmanager.class.php
plog/trunk/class/security/bayesianfilter.class.php
plog/trunk/class/security/commentfilter.class.php
plog/trunk/class/security/pipeline.class.php
plog/trunk/class/summary/action/activeaccountaction.class.php
plog/trunk/class/summary/action/bloglistaction.class.php
plog/trunk/class/summary/action/blogprofileaction.class.php
plog/trunk/class/summary/action/checkusernameajaxaction.class.php
plog/trunk/class/summary/action/chooseblogtemplateaction.class.php
plog/trunk/class/summary/action/doblogregistration.class.php
plog/trunk/class/summary/action/dofinishregister.class.php
plog/trunk/class/summary/action/doreadagreement.class.php
plog/trunk/class/summary/action/dousercreation.class.php
plog/trunk/class/summary/action/douserregister.class.php
plog/trunk/class/summary/action/postlistaction.class.php
plog/trunk/class/summary/action/registeraction.class.php
plog/trunk/class/summary/action/summaryaction.class.php
plog/trunk/class/summary/action/summarycustompageaction.class.php
plog/trunk/class/summary/action/summarydefaultaction.class.php
plog/trunk/class/summary/action/summaryregistrationaction.class.php
plog/trunk/class/summary/action/summaryrssaction.class.php
plog/trunk/class/summary/action/summarysearchaction.class.php
plog/trunk/class/summary/action/summarysendresetemail.class.php
plog/trunk/class/summary/action/summarysetnewpassword.class.php
plog/trunk/class/summary/action/summaryshowresetpasswordform.class.php
plog/trunk/class/summary/action/summaryupdatepassword.class.php
plog/trunk/class/summary/action/userlistaction.class.php
plog/trunk/class/summary/action/userprofileaction.class.php
plog/trunk/class/summary/controller/registrationcontroller.class.php
plog/trunk/class/summary/controller/summarycontroller.class.php
plog/trunk/class/summary/dao/summarystats.class.php
plog/trunk/class/summary/data/summarytools.class.php
plog/trunk/class/summary/data/validator/customsummarypagevalidator.class.php
plog/trunk/class/summary/mail/confirmemailmessage.class.php
plog/trunk/class/summary/mail/summarymailer.class.php
plog/trunk/class/summary/view/blogtemplatechooserview.class.php
plog/trunk/class/summary/view/doblogregistrationview.class.php
plog/trunk/class/summary/view/summarybloglistview.class.php
plog/trunk/class/summary/view/summarycachedview.class.php
plog/trunk/class/summary/view/summarymessageview.class.php
plog/trunk/class/summary/view/summarypostlistview.class.php
plog/trunk/class/summary/view/summaryrssview.class.php
plog/trunk/class/summary/view/summaryusercreationview.class.php
plog/trunk/class/summary/view/summaryuserlistview.class.php
plog/trunk/class/summary/view/summaryview.class.php
plog/trunk/class/summary/view/summaryxmlview.class.php
plog/trunk/class/template/cachecontrol.class.php
plog/trunk/class/template/cachedtemplate.class.php
plog/trunk/class/template/menu/menu.class.php
plog/trunk/class/template/menu/menuentry.class.php
plog/trunk/class/template/menu/menurenderer.class.php
plog/trunk/class/template/template.class.php
plog/trunk/class/template/templatesandbox.class.php
plog/trunk/class/template/templateservice.class.php
plog/trunk/class/template/templatesets/templatefinder.class.php
plog/trunk/class/template/templatesets/templateset.class.php
plog/trunk/class/template/templatesets/templatesets.class.php
plog/trunk/class/template/templatesets/templatesetstorage.class.php
plog/trunk/class/template/templateutils.class.php
plog/trunk/class/test/PHPUnit/GUI/SetupDecorator.php
plog/trunk/class/test/PHPUnit/TestCase.php
plog/trunk/class/test/helpers/htmlreporter.class.php
plog/trunk/class/test/helpers/lifetypetestcase.class.php
plog/trunk/class/test/helpers/testtools.class.php
plog/trunk/class/test/testrunner.class.php
plog/trunk/class/test/tests/config/configdbstorage_test.class.php
plog/trunk/class/test/tests/config/configfilestorage_test.class.php
plog/trunk/class/test/tests/dao/article_test.class.php
plog/trunk/class/test/tests/dao/bloginfo_test.class.php
plog/trunk/class/test/tests/dao/blogs_test.class.php
plog/trunk/class/test/tests/dao/permissions_test.class.php
plog/trunk/class/test/tests/dao/searchengine_test.class.php
plog/trunk/class/test/tests/data/textfilter_test.class.php
plog/trunk/class/test/tests/data/validator/emailvalidator_test.class.php
plog/trunk/class/test/tests/data/validator/integervalidator_test.class.php
plog/trunk/class/test/tests/data/validator/rules/stringrangerule_test.class.php
plog/trunk/class/test/tests/data/validator/usernamevalidator_test.class.php
plog/trunk/class/test/tests/extra/sqlinjection_test.class.php
plog/trunk/class/test/tests/file/unpacker/zipunpacker_test.class.php
plog/trunk/class/test/tests/mail/emailservice_test.class.php
plog/trunk/class/test/tests/mail/phpmailer/phpmailer_test.class.php
plog/trunk/class/test/tests/net/http/httpclient_test.class.php
plog/trunk/class/test/tests/net/url_test.class.php
plog/trunk/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php
plog/trunk/class/test/tests/summary/action/summaryaction_test.class.php
plog/trunk/class/test/tests/summary/dao/summarystats_test.class.php
plog/trunk/class/test/tests/summary/data/summarytools_test.class.php
plog/trunk/class/view/admin/adminadduserview.class.php
plog/trunk/class/view/admin/adminarticlecategorieslistview.class.php
plog/trunk/class/view/admin/adminarticlecommentslistview.class.php
plog/trunk/class/view/admin/adminarticlereferrersview.class.php
plog/trunk/class/view/admin/adminarticletrackbackslistview.class.php
plog/trunk/class/view/admin/adminblogcategorieslistview.class.php
plog/trunk/class/view/admin/adminblogsettingsview.class.php
plog/trunk/class/view/admin/adminblogtemplatechooserview.class.php
plog/trunk/class/view/admin/adminblogtemplatesetslistview.class.php
plog/trunk/class/view/admin/adminbloguserslistview.class.php
plog/trunk/class/view/admin/admincreateblogview.class.php
plog/trunk/class/view/admin/admincustomfieldslistview.class.php
plog/trunk/class/view/admin/admindashboardview.class.php
plog/trunk/class/view/admin/admindefaultview.class.php
plog/trunk/class/view/admin/admineditlinkview.class.php
plog/trunk/class/view/admin/admineditpostview.class.php
plog/trunk/class/view/admin/admineditresourcealbumview.class.php
plog/trunk/class/view/admin/admineditresourceview.class.php
plog/trunk/class/view/admin/admineditsiteblogview.class.php
plog/trunk/class/view/admin/admineditsiteuserview.class.php
plog/trunk/class/view/admin/adminerrorview.class.php
plog/trunk/class/view/admin/adminglobalarticlecategorieslistview.class.php
plog/trunk/class/view/admin/adminglobalsettingslistview.class.php
plog/trunk/class/view/admin/adminlinkcategorieslistview.class.php
plog/trunk/class/view/admin/adminlinkslistview.class.php
plog/trunk/class/view/admin/adminloginview.class.php
plog/trunk/class/view/admin/adminmessageview.class.php
plog/trunk/class/view/admin/adminnewalbumview.class.php
plog/trunk/class/view/admin/adminnewglobalarticlecategoryview.class.php
plog/trunk/class/view/admin/adminnewlinkview.class.php
plog/trunk/class/view/admin/adminnewpostview.class.php
plog/trunk/class/view/admin/adminnewresourceview.class.php
plog/trunk/class/view/admin/adminpermissionslistview.class.php
plog/trunk/class/view/admin/adminplugintemplatedview.class.php
plog/trunk/class/view/admin/adminpostslistview.class.php
plog/trunk/class/view/admin/adminreferrersview.class.php
plog/trunk/class/view/admin/adminregisterblogview.class.php
plog/trunk/class/view/admin/adminresourcealbumslistview.class.php
plog/trunk/class/view/admin/adminresourceslistview.class.php
plog/trunk/class/view/admin/adminsimpleerrorview.class.php
plog/trunk/class/view/admin/adminsimplemessageview.class.php
plog/trunk/class/view/admin/adminsiteblogslistview.class.php
plog/trunk/class/view/admin/adminsitelocaleslistview.class.php
plog/trunk/class/view/admin/adminsitetemplateslistview.class.php
plog/trunk/class/view/admin/adminsiteuserslistview.class.php
plog/trunk/class/view/admin/admintemplatedview.class.php
plog/trunk/class/view/admin/adminuserprofileview.class.php
plog/trunk/class/view/admin/adminview.class.php
plog/trunk/class/view/admin/adminxmlview.class.php
plog/trunk/class/view/admin/chooser/adminblogchooserview.class.php
plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php
plog/trunk/class/view/admin/chooser/adminuserchooserview.class.php
plog/trunk/class/view/admin/chooser/adminuserpictureselectview.class.php
plog/trunk/class/view/blogtemplatedview.class.php
plog/trunk/class/view/blogview.class.php
plog/trunk/class/view/defaultview.class.php
plog/trunk/class/view/errorview.class.php
plog/trunk/class/view/plugintemplatedview.class.php
plog/trunk/class/view/resourceserverview.class.php
plog/trunk/class/view/rssview.class.php
plog/trunk/class/view/smartyview.class.php
plog/trunk/class/view/templateview.class.php
plog/trunk/class/view/trackbackview.class.php
plog/trunk/class/view/view.class.php
plog/trunk/class/view/viewarticleview.class.php
plog/trunk/class/xml/rssparser/rssitem.class.php
plog/trunk/class/xml/rssparser/rssparser.class.php
Log:
replaced include_once with our own custom lt_include which should increase performance. Except the Smarty group of classes and the LoggerConfigLoader class, all other classes are now including each other using this new file loader. Benchmarks coming soon.
Modified: plog/trunk/class/action/action.class.php
===================================================================
--- plog/trunk/class/action/action.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/action.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -68,8 +68,8 @@
*/
function Action( $actionInfo, $httpRequest )
{
- include_once( PLOG_CLASS_PATH."class/net/request.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/forms/formvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/request.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/forms/formvalidator.class.php" );
$this->_request = new Request( $httpRequest );
Modified: plog/trunk/class/action/addcommentaction.class.php
===================================================================
--- plog/trunk/class/action/addcommentaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/addcommentaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,19 +1,19 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/httpurlvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/httpurlvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
/**
* \ingroup Action
@@ -65,7 +65,7 @@
function _fetchFields()
{
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_articleId = $this->_request->getValue( "articleId" );
$this->_blogId = $this->_request->getValue( "blogId" );
@@ -140,9 +140,9 @@
*/
function perform()
{
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/client.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/client.class.php" );
// need to check the ip of the client
$clientIp = Client::getIp();
Modified: plog/trunk/class/action/addtrackbackaction.class.php
===================================================================
--- plog/trunk/class/action/addtrackbackaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/addtrackbackaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,20 +1,20 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/action.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/trackbackview.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/client.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/security/pipeline.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/action.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/trackbackview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/client.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/security/pipeline.class.php" );
/**
* Class that takes care of adding trackbacks
@@ -42,7 +42,7 @@
*/
function tblog( $message )
{
- include_once( PLOG_CLASS_PATH . "class/logger/loggermanager.class.php" );
+ lt_include( PLOG_CLASS_PATH . "class/logger/loggermanager.class.php" );
$logger =& LoggerManager::getLogger( "trackback" );
$logger->debug( $message );
Modified: plog/trunk/class/action/admin/adminaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,15 +1,15 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/action.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/misc/version.class.php" );
- include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admindefaultview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/action.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/version.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admindefaultview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
/**
* \ingroup Action
@@ -199,7 +199,7 @@
}
else {
// nothing else to do, just redirect the browser once we've cleaned up the session
- include_once( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
$view = new RedirectView( $destinationUrl );
}
$view->setErrorMessage( $locale->tr("error_access_forbidden" ));
Modified: plog/trunk/class/action/admin/adminaddarticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddarticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddarticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddarticlecategoryajaxaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddarticlecategoryajaxaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddarticlecategoryajaxaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminxmlview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminxmlview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddblogaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddblogaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddblogaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,14 +1,14 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admincreateblogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admincreateblogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
/**
* \ingroup Action
@@ -108,7 +108,7 @@
}
// get the default global article category id
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
$globalArticleCategories = new GlobalArticleCategories();
$globalArticleCategoryId = $this->_config->getValue("default_global_article_category_id");
if( !empty( $globalArticleCategoryId ) ) {
@@ -147,8 +147,8 @@
$articles->addArticle( $article );
// add a new first album so that users can start uploading stuff right away
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbum.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbum.class.php" );
$album = new GalleryAlbum( $newBlogId, // blog id
$locale->tr( "register_default_album_name" ), // album name
$locale->tr( "register_default_album_description" ), // album description
@@ -161,7 +161,7 @@
$albums->addAlbum( $album );
// add a new default mylinkscategory
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
$linksCategory = new MyLinksCategory( $locale->tr("register_default_category" ), $newBlogId );
$linksCategories = new MyLinksCategories();
$linksCategories->addMyLinksCategory( $linksCategory );
Modified: plog/trunk/class/action/admin/adminaddblogcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddblogcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddblogcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddblogtemplateaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddblogtemplateaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddblogtemplateaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaddtemplateaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/unpacker/unpacker.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogtemplatesetslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesandbox.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/fileuploads.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaddtemplateaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/unpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogtemplatesetslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesandbox.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/fileuploads.class.php" );
/**
* \ingroup Action
@@ -218,7 +218,7 @@
}
// We should update the session too, or we will get data dirty
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogInfo = $blogs->getBlogInfo( $this->_blogInfo->getId() );
$this->_session->setValue( "blogInfo", $blogInfo );
Modified: plog/trunk/class/action/admin/adminaddbloguseraction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddbloguseraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddbloguseraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminbloguserslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminbloguserslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddcustomfieldaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddcustomfieldaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddcustomfieldaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddglobalarticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddglobalarticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddglobalarticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -6,10 +6,10 @@
* Changed from original article category.
*/
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddlinkaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddlinkaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddlinkaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,14 +1,14 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylink.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/httpurlvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewlinkview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylink.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/httpurlvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewlinkview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddlinkcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddlinkcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddlinkcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddlocaleaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddlocaleaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddlocaleaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsitelocaleslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/fileuploads.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/localefinder.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsitelocaleslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/fileuploads.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/localefinder.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddpermissionaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddpermissionaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddpermissionaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpermissionslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpermissionslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddpostaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddpostaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddpostaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminpostmanagementcommonaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewpostview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminpostmanagementcommonaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewpostview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
@@ -68,7 +68,7 @@
*/
function _savePostData( $article )
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$status = $this->_postStatus;
@@ -102,8 +102,8 @@
*/
function perform()
{
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_fetchCommonData();
@@ -144,7 +144,7 @@
$message = $this->_locale->tr("post_added_ok");
// train the filter
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
BayesianFilterCore::trainWithArticle( $article );
// add the article notification if requested to do so
@@ -173,7 +173,7 @@
// and now check what to do with the trackbacks
if( $this->_sendTrackbacks ) {
- include_once( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
// get the links from the text of the post
$postLinks = StringUtils::getLinks( stripslashes($article->getText()));
@@ -203,7 +203,7 @@
$this->notifyEvent( EVENT_POST_POST_ADD, Array( "article" => &$article ));
// empty the cache used by this blog
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
CacheControl::resetBlogCache( $this->_blogInfo->getId());
}
Modified: plog/trunk/class/action/admin/adminaddresourceaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddresourceaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddresourceaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,16 +1,16 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewresourceview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/chooser/adminsimpleresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/chooser/adminuserpictureselectview.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewresourceview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/chooser/adminsimpleresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/chooser/adminuserpictureselectview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddresourcealbumaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddresourcealbumaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddresourcealbumaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewalbumview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewalbumview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminaddtemplateaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddtemplateaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminaddtemplateaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,15 +1,15 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/action/admin/siteadminaction.class.php' );
- include_once( PLOG_CLASS_PATH.'class/view/admin/adminsitetemplateslistview.class.php' );
- include_once( PLOG_CLASS_PATH.'class/view/admin/admintemplatedview.class.php' );
- include_once( PLOG_CLASS_PATH.'class/file/unpacker/unpacker.class.php' );
- include_once( PLOG_CLASS_PATH.'class/data/validator/stringvalidator.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/templatesandbox.class.php' );
- include_once( PLOG_CLASS_PATH.'class/file/fileuploads.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/templatesets/templatesetstorage.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/templatesets/templatefinder.class.php' );
- include_once( PLOG_CLASS_PATH.'class/data/validator/uploadvalidator.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/action/admin/siteadminaction.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/admin/adminsitetemplateslistview.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/admin/admintemplatedview.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/file/unpacker/unpacker.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/validator/stringvalidator.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templatesandbox.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/file/fileuploads.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatesetstorage.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatefinder.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/validator/uploadvalidator.class.php' );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminadduseraction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminadduseraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminadduseraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,15 +1,15 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminadduserview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminadduserview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminadminblogselectaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminadminblogselectaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminadminblogselectaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminblogcategoriesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminblogcategoriesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminblogcategoriesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
class AdminBlogCategoriesAction extends SiteAdminAction
{
Modified: plog/trunk/class/action/admin/adminblogcustomfieldsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminblogcustomfieldsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminblogcustomfieldsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminblogsecurityaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminblogsecurityaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminblogsecurityaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminblogsettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminblogsettingsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminblogsettingsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogsettingsview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogsettingsview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminchangecommentsstatusaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminchangecommentsstatusaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminchangecommentsstatusaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
/**
* \ingroup Action
@@ -155,7 +155,7 @@
$this->notifyEvent( EVENT_PRE_MARK_SPAM_COMMENT, Array( "commentId" => $comment->getId() ));
// We should get the comment and train the filter to recognize this as spam...
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
$bayesian = new BayesianFilterCore();
$bayesian->untrain( $this->_blogInfo->getId(),
@@ -187,7 +187,7 @@
$this->notifyEvent( EVENT_PRE_MARK_NO_SPAM_COMMENT, Array( "commentId" => $comment->getId() ));
// we should get the comment and train the filter
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
$bayesian = new BayesianFilterCore();
$bayesian->untrain( $this->_blogInfo->getId(),
Modified: plog/trunk/class/action/admin/adminchangegalleryitemsalbumaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminchangegalleryitemsalbumaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminchangegalleryitemsalbumaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminchangelinkscategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminchangelinkscategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminchangelinkscategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminchangepostscategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminchangepostscategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminchangepostscategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminchangepostsstatusaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminchangepostsstatusaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminchangepostsstatusaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminchangetrackbacksstatusaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminchangetrackbacksstatusaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminchangetrackbacksstatusaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticletrackbackslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticletrackbackslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
/**
* \ingroup Action
@@ -156,7 +156,7 @@
$this->notifyEvent( EVENT_PRE_MARK_SPAM_TRACKBACK, Array( "trackbackId" => $trackback->getId() ));
// We should get the trackback and train the filter to recognize this as spam...
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
$bayesian = new BayesianFilterCore();
$bayesian->untrain( $this->_blogInfo->getId(),
@@ -188,7 +188,7 @@
$this->notifyEvent( EVENT_PRE_MARK_NO_SPAM_TRACKBACK, Array( "trackbackId" => $trackback->getId() ));
// we should get the trackback and train the filter
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
$bayesian = new BayesianFilterCore();
$bayesian->untrain( $this->_blogInfo->getId(),
Modified: plog/trunk/class/action/admin/admincleanupaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admincleanupaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admincleanupaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
/**
* \ingroup Action
@@ -102,12 +102,12 @@
$result = $this->cleanupPosts();
}
elseif( $this->_op == "cleanupUsers" ) {
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
$result = $this->cleanupUsers();
CacheControl::resetSummaryCache();
}
elseif( $this->_op == "cleanupBlogs" ) {
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
$result = $this->cleanupBlogs();
CacheControl::resetSummaryCache();
}
Modified: plog/trunk/class/action/admin/admincontrolcenteraction.class.php
===================================================================
--- plog/trunk/class/action/admin/admincontrolcenteraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admincontrolcenteraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admincreateblogaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admincreateblogaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admincreateblogaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admincreateblogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admincreateblogview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admincreateuseraction.class.php
===================================================================
--- plog/trunk/class/action/admin/admincreateuseraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admincreateuseraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminadduserview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminadduserview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindefaultaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindefaultaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindefaultaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/action.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admindefaultview.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/action.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admindefaultview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletearticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletearticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletearticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeleteblogaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeleteblogaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeleteblogaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeleteblogcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeleteblogcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeleteblogcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeleteblogtemplateaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeleteblogtemplateaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeleteblogtemplateaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogtemplatesetslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogtemplatesetslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
/**
* \ingroup Action
@@ -81,7 +81,7 @@
$this->setCommonData();
// We should update the session too, or we will get data dirty
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogInfo = $blogs->getBlogInfo( $this->_blogInfo->getId() );
$this->_session->setValue( "blogInfo", $blogInfo );
Modified: plog/trunk/class/action/admin/admindeletebloguserpermissionsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletebloguserpermissionsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletebloguserpermissionsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminbloguserslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminbloguserslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletecommentaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletecommentaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletecommentaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletecustomfieldsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletecustomfieldsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletecustomfieldsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletegalleryitemsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletegalleryitemsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletegalleryitemsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeleteglobalarticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeleteglobalarticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeleteglobalarticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -4,12 +4,12 @@
* version 1.0
* Changed from original article category.
*/
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletelinkaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletelinkaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletelinkaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletelinkcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletelinkcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletelinkcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletelocalesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletelocalesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletelocalesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsitelocaleslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsitelocaleslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletepermissionsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletepermissionsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletepermissionsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpermissionslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpermissionslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletepostaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletepostaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletepostaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletereferreraction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletereferreraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletereferreraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/referers.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminreferrersview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/referers.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminreferrersview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeleteresourceaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeleteresourceaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeleteresourceaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeleteresourcealbumaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeleteresourcealbumaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeleteresourcealbumaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletetemplatesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletetemplatesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletetemplatesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsitetemplateslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsitetemplateslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeletetrackbackaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletetrackbackaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeletetrackbackaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticletrackbackslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticletrackbackslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindeleteusersaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeleteusersaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindeleteusersaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admindoregisterblogaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindoregisterblogaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admindoregisterblogaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,19 +1,19 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminregisterblogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admindashboardview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminregisterblogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admindashboardview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
class AdminDoRegisterBlogAction extends AdminAction
{
@@ -148,13 +148,13 @@
$albums->addAlbum( $album );
// add a new default mylinkscategory
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
$linksCategory = new MyLinksCategory( $locale->tr("register_default_category" ), $newBlogId );
$linksCategories = new MyLinksCategories();
$linksCategories->addMyLinksCategory( $linksCategory );
// after we update everything, we need to get the userInfo from db and set to session again.
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
$users = new Users();
$this->_userInfo = $users->getUserInfoFromId( $this->_userInfo->getId() );
$this->_session->setValue( "userInfo", $this->_userInfo );
Modified: plog/trunk/class/action/admin/admineditarticlecategoriesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditarticlecategoriesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditarticlecategoriesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditarticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditarticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditarticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditblogaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditblogaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditblogaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditsiteblogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditsiteblogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditblogcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditblogcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditblogcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditblogtemplatesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditblogtemplatesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditblogtemplatesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogtemplatesetslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogtemplatesetslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditcommentsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditcommentsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditcommentsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditcustomfieldaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditcustomfieldaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditcustomfieldaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditglobalarticlecategoriesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditglobalarticlecategoriesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditglobalarticlecategoriesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -4,8 +4,8 @@
* version 1.0
* Changed from original article category.
*/
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditglobalarticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditglobalarticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditglobalarticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -5,13 +5,13 @@
* Changed from original article category.
*/
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditlinkaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditlinkaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditlinkaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditlinkview.class.php") ;
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php") ;
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditlinkview.class.php") ;
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php") ;
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditlinkcategoriesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditlinkcategoriesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditlinkcategoriesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditlinkcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditlinkcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditlinkcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditlinksaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditlinksaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditlinksaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditpostaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditpostaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditpostaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditpostview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditpostview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditpostsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditpostsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditpostsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/admineditresourcealbumaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditresourcealbumaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/admineditresourcealbumaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditresourcealbumview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditresourcealbumview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminedittemplatesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminedittemplatesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminedittemplatesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsitetemplateslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsitetemplateslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminedittrackbacksaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminedittrackbacksaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminedittrackbacksaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/admineditcommentsaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticletrackbackslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/admineditcommentsaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticletrackbackslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminemptyaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminemptyaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminemptyaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminglobalsettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminglobalsettingsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminglobalsettingsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminglobalsettingslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminglobalsettingslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminloginaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminloginaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminloginaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,16 +1,16 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/action.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admindashboardview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admindefaultview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/session/sessioninfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/misc/version.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewpostview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/action.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admindashboardview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admindefaultview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/session/sessioninfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/version.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewpostview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminlogoutaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminlogoutaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminlogoutaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admindefaultview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admindefaultview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminmainaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminmainaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminmainaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
/**
* \ingroup Action
@@ -31,13 +31,13 @@
// first of all, check if we have a valid blog id
$this->_blogId = $this->_request->getValue( "blogId" );
if( $this->_blogId == "" || $this->_blogId < 0 ) {
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
// check if the user really belongs to one or more blogs and if not, quit
$users = new Users();
$userBlogs = $users->getUsersBlogs( $this->_userInfo->getId(), BLOG_STATUS_ACTIVE );
if( count($userBlogs) == 0 ) {
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsimpleerrorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsimpleerrorview.class.php" );
$this->_view = new AdminSimpleErrorView();
$this->_view->setValue( "message", $this->_locale->tr("error_dont_belong_to_any_blog" ));
@@ -45,7 +45,7 @@
}
// if everything went fine, then we can continue...
- include_once( PLOG_CLASS_PATH."class/view/admin/admindashboardview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admindashboardview.class.php" );
$this->_view = new AdminDashboardView( $this->_userInfo, $userBlogs );
return false;
@@ -58,7 +58,7 @@
// check if the blog really exists
if( !$this->_blogInfo ) {
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsimpleerrorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsimpleerrorview.class.php" );
$this->_view = new AdminSimpleErrorView();
$this->_view->setValue( "message", $this->_locale->tr("error_incorrect_blog_id" ));
@@ -68,7 +68,7 @@
// if so, check that it is active
if( $this->_blogInfo->getStatus() != BLOG_STATUS_ACTIVE ) {
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsimpleerrorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsimpleerrorview.class.php" );
$this->_view = new AdminSimpleErrorView();
$this->_view->setValue( "message", $this->_locale->tr("error_incorrect_blog_id" ));
@@ -81,7 +81,7 @@
$userPermissions = new UserPermissions();
$blogUserPermissions = $userPermissions->getUserPermissions( $this->_userInfo->getId(), $this->_blogInfo->getId());
if( !$blogUserPermissions ) {
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsimpleerrorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsimpleerrorview.class.php" );
$this->_view = new AdminSimpleErrorView();
$this->_view->setValue( "message", $this->_locale->tr("error_no_permissions" ));
Modified: plog/trunk/class/action/admin/adminmanageaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminmanageaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminmanageaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminmarkcommentaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminmarkcommentaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminmarkcommentaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminmarktrackbackaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminmarktrackbackaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminmarktrackbackaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticletrackbackslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticletrackbackslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewarticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewarticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewarticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewblogcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewblogcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewblogcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewblogtemplateaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewblogtemplateaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewblogtemplateaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewbloguseraction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewbloguseraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewbloguseraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewcustomfieldaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewcustomfieldaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewcustomfieldaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewglobalarticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewglobalarticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewglobalarticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -6,8 +6,8 @@
*/
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewlinkaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewlinkaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewlinkaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewlinkview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewlinkview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategory.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewlinkcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewlinkcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewlinkcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewlocaleaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewlocaleaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewlocaleaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewpermissionaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewpermissionaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewpermissionaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewpostaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewpostaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewpostaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewpostview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewpostview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewresourceaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewresourceaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewresourceaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewresourceview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewalbumview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewresourceview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewalbumview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewresourcealbumaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewresourcealbumaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewresourcealbumaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewalbumview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewalbumview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminnewtemplateaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewtemplateaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminnewtemplateaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminpermissionslistaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminpermissionslistaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminpermissionslistaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpermissionslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpermissionslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminplugincenteraction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminplugincenteraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminplugincenteraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminpostmanagementcommonaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminpostmanagementcommonaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminpostmanagementcommonaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldvaluefactory.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldvaluefactory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
/**
@@ -99,7 +99,7 @@
if( !$this->_config->getValue( "xmlrpc_ping_enabled", false ))
return "";
- include_once( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
$notifications = new ArticleNotifications();
$resultArray = $notifications->updateNotify( $this->_blogInfo );
Modified: plog/trunk/class/action/admin/adminpoststatsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminpoststatsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminpoststatsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlereferrersview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlereferrersview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminpreviewpostaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminpreviewpostaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminpreviewpostaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/action/admin/adminpostmanagementcommonaction.class.php' );
- include_once( PLOG_CLASS_PATH.'class/view/viewarticleview.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/article.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/action/admin/adminpostmanagementcommonaction.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/viewarticleview.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/article.class.php' );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminregeneratepreviewaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminregeneratepreviewaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminregeneratepreviewaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
-include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
-include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
-include_once( PLOG_CLASS_PATH."class/view/admin/admineditresourceview.class.php" );
-include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
-include_once( PLOG_CLASS_PATH."class/gallery/resizers/galleryresizer.class.php" );
-include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
-include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+lt_include( PLOG_CLASS_PATH."class/view/admin/admineditresourceview.class.php" );
+lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+lt_include( PLOG_CLASS_PATH."class/gallery/resizers/galleryresizer.class.php" );
+lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminregisterblogaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminregisterblogaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminregisterblogaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminregisterblogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminregisterblogview.class.php" );
class AdminRegisterBlogAction extends AdminAction
{
Modified: plog/trunk/class/action/admin/adminresendconfirmationaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminresendconfirmationaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminresendconfirmationaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditsiteblogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditsiteblogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
/**
* \ingroup Action
@@ -52,7 +52,7 @@
$this->notifyEvent( EVENT_BLOG_LOADED, Array( "blog" => &$blogInfo ));
// now that we have the right blog loaded, regenerate the confirmation email
- include_once( PLOG_CLASS_PATH."class/summary/mail/summarymailer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/mail/summarymailer.class.php" );
// load the blog owner
$blogOwner = $blogInfo->getOwnerInfo();
Modified: plog/trunk/class/action/admin/adminresourcealbumsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminresourcealbumsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminresourcealbumsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourcealbumslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourcealbumslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminresourceinfoaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminresourceinfoaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminresourceinfoaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditresourceview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditresourceview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminresourcesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminresourcesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminresourcesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminresourcesgroupaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminresourcesgroupaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminresourcesgroupaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminsavedraftarticleajaxaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminsavedraftarticleajaxaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminsavedraftarticleajaxaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminxmlview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php");
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminxmlview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php");
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
/**
* \ingroup Action
@@ -94,7 +94,7 @@
// prepare the custom fields
$fields = Array();
if( is_array($this->_customFields)) {
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
foreach( $this->_customFields as $fieldId => $fieldValue ) {
// 3 of those parameters are not really need when creating a new object... it's enough that
// we know the field definition id.
Modified: plog/trunk/class/action/admin/adminsendtrackbacksaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminsendtrackbacksaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminsendtrackbacksaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/trackbackclient.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/trackbackclient.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminshowblogusersaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminshowblogusersaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminshowblogusersaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminbloguserslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminbloguserslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminsiteblogsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminsiteblogsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminsiteblogsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminsitelocalesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminsitelocalesaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminsitelocalesaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsitelocaleslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsitelocaleslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminsitesettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminsitesettingsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminsitesettingsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminsiteusersaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminsiteusersaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminsiteusersaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminstatisticsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminstatisticsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminstatisticsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminreferrersview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminreferrersview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdatearticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdatearticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdatearticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdateblogcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateblogcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdateblogcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,14 +1,14 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogsettingsview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/intrangerule.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogsettingsview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/intrangerule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
/**
Modified: plog/trunk/class/action/admin/adminupdatecustomfieldaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdatecustomfieldaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdatecustomfieldaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admincustomfieldslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdateeditblogaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateeditblogaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdateeditblogaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,15 +1,15 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditsiteblogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditsiteblogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdateglobalarticlecategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateglobalarticlecategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdateglobalarticlecategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -4,14 +4,14 @@
* version 1.0
* Changed from original article category.
*/
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdateglobalsettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateglobalsettingsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdateglobalsettingsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminglobalsettingslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminglobalsettingslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdatelinkaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdatelinkaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdatelinkaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditlinkview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/httpurlvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditlinkview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/httpurlvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdatelinkcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdatelinkcategoryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdatelinkcategoryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminlinkcategorieslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdatepostaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdatepostaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdatepostaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,18 +1,18 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminpostmanagementcommonaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditpostview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminpostmanagementcommonaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminpostslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditpostview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdateresourceaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateresourceaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdateresourceaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditresourceview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditresourceview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdateresourcealbumaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateresourcealbumaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdateresourcealbumaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditresourcealbumview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditresourcealbumview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdateuserprofileaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateuserprofileaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdateuserprofileaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditsiteuserview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditsiteuserview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminupdateusersettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateusersettingsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminupdateusersettingsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminuserprofileview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminuserprofileview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminuserprofileaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminuserprofileaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminuserprofileaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/admineditsiteuserview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admineditsiteuserview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminusersettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminusersettingsaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminusersettingsaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminuserprofileview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminuserprofileview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/adminxmlpingaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminxmlpingaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/adminxmlpingaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminxmlview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminxmlview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/blogowneradminaction.class.php
===================================================================
--- plog/trunk/class/action/admin/blogowneradminaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/blogowneradminaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/chooser/adminblogchooseraction.class.php
===================================================================
--- plog/trunk/class/action/admin/chooser/adminblogchooseraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/chooser/adminblogchooseraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/chooser/adminblogchooserview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/chooser/adminblogchooserview.class.php" );
class AdminBlogChooserAction extends SiteAdminAction
{
Modified: plog/trunk/class/action/admin/chooser/adminblogtemplatechooseraction.class.php
===================================================================
--- plog/trunk/class/action/admin/chooser/adminblogtemplatechooseraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/chooser/adminblogtemplatechooseraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminblogtemplatechooserview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminblogtemplatechooserview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/chooser/adminresourcelistaction.class.php
===================================================================
--- plog/trunk/class/action/admin/chooser/adminresourcelistaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/chooser/adminresourcelistaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/chooser/adminsimpleresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/chooser/adminsimpleresourceslistview.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/chooser/adminuserchooseraction.class.php
===================================================================
--- plog/trunk/class/action/admin/chooser/adminuserchooseraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/chooser/adminuserchooseraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/chooser/adminuserchooserview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/chooser/adminuserchooserview.class.php" );
class AdminUserChooserAction extends SiteAdminAction
{
Modified: plog/trunk/class/action/admin/chooser/adminuserpictureselectaction.class.php
===================================================================
--- plog/trunk/class/action/admin/chooser/adminuserpictureselectaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/chooser/adminuserpictureselectaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/chooser/adminuserpictureselectview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/chooser/adminuserpictureselectview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/admin/siteadminaction.class.php
===================================================================
--- plog/trunk/class/action/admin/siteadminaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/admin/siteadminaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/action/blogaction.class.php
===================================================================
--- plog/trunk/class/action/blogaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/blogaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/action.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/action.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
@@ -34,9 +34,9 @@
*/
function BlogAction( $actionInfo, $request )
{
- include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
- include_once( PLOG_CLASS_PATH."class/security/pipeline.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/security/pipeline.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
$this->Action( $actionInfo, $request );
@@ -47,8 +47,8 @@
$this->_config =& Config::getConfig();
if( !$this->_getBlogInfo() ) {
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
$this->_session->setValue( 'blogId', null );
$blogDoesNotExistUrl = $this->_config->getValue( "blog_does_not_exist_url" );
@@ -92,7 +92,7 @@
if( !$result->isValid()) {
if( !$result->hasView()) {
// use the default view
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
$message = $this->_locale->tr('error_you_have_been_blocked').'<br/><br/>';
$message .= $result->getErrorMessage();
$this->_view = new ErrorView( $this->_blogInfo, $message );
@@ -166,7 +166,7 @@
// see if we're using subdomains
$config =& Config::getConfig();
if( $config->getValue( "subdomains_enabled" )) {
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
$subdomainInfo = Subdomains::getSubdomainInfoFromRequest();
if( !empty($subdomainInfo["blogdomain"])
@@ -197,7 +197,7 @@
if( !$blogId && !$blogName && !$blogDomain) {
// check if there was a user parameter
if( !empty($userName) ) {
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
// if so, check to which blogs the user belongs
$users = new Users();
$userInfo = $users->getUserInfoFromUsername( $userName );
@@ -229,17 +229,17 @@
// fetch the BlogInfo object
if( $blogId ) {
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$this->_blogInfo = $blogs->getBlogInfo( $blogId );
}
else if($blogName){
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$this->_blogInfo = $blogs->getBlogInfoByName( $blogName );
}
else{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$this->_blogInfo = $blogs->getBlogInfoByDomain( $blogDomain );
}
@@ -299,7 +299,7 @@
return true;
// update the referer statistics
- include_once( PLOG_CLASS_PATH."class/dao/referers.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/referers.class.php" );
$referers = new Referers();
if (array_key_exists( 'HTTP_REFERER', $_SERVER ))
@@ -359,7 +359,7 @@
*/
function _getPage()
{
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php");
// get the value from the request
$page = HttpVars::getRequestValue( "page" );
// but first of all, validate it
Modified: plog/trunk/class/action/commentaction.class.php
===================================================================
--- plog/trunk/class/action/commentaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/commentaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
@@ -69,7 +69,7 @@
return true;
// fetch the comments so far
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
$comments = new ArticleComments();
$postComments = $comments->getPostComments( $article->getId());
if( $this->_parentId > 0 ) {
Modified: plog/trunk/class/action/defaultaction.class.php
===================================================================
--- plog/trunk/class/action/defaultaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/defaultaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -2,9 +2,9 @@
require_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
require_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
/**
* \ingroup Action
@@ -95,7 +95,7 @@
require_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
require_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
require_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/siteconfig.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/siteconfig.class.php" );
// if we got a category name instead of a category id, then we
// should first look up this category in the database and see if
@@ -134,7 +134,7 @@
if( isset($category) )
$this->_view->setValue( "category", $category );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
$users = new Users();
// if we got a user user id, then we should first look up this id
Modified: plog/trunk/class/action/resourceserveraction.class.php
===================================================================
--- plog/trunk/class/action/resourceserveraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/resourceserveraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,15 +1,15 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/action.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/resourceserverview.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
- include_once( PLOG_CLASS_PATH."class/security/pipeline.class.php" );
- include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/action.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/resourceserverview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/security/pipeline.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Action
@@ -166,7 +166,7 @@
// because we got an album name instead of an album id
if( !empty($this->_albumId) || !empty($this->_albumName)) {
if( $this->_albumName ) {
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
$albums = new GalleryAlbums();
$album = $albums->getAlbumByName( $this->_albumName );
if( !$album ) {
Modified: plog/trunk/class/action/rssaction.class.php
===================================================================
--- plog/trunk/class/action/rssaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/rssaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/rssview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/rssview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
@@ -40,7 +40,7 @@
//Check the rdf syndication is allowed or not
$rdfEnabled = $this->_config->getValue( "rdf_enabled" );
if ( !$rdfEnabled ) {
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
$message = $this->_locale->tr('error_rdf_syndication_not_allowed').'<br/><br/>';
$this->_view = new ErrorView( $this->_blogInfo, $message );
$this->setCommonData();
@@ -80,10 +80,10 @@
return true;
}
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/siteconfig.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/siteconfig.class.php" );
$articles = new Articles();
@@ -109,7 +109,7 @@
// load the category
if( $categoryId > 0 ) {
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
$articleCategories = new ArticleCategories();
$category = $articleCategories->getCategory( $categoryId );
$this->_view->setValue( "rsscategory", $category );
Modified: plog/trunk/class/action/searchaction.class.php
===================================================================
--- plog/trunk/class/action/searchaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/searchaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -3,14 +3,14 @@
/**
* @package action
*/
- include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/blogtemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogtemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
define( "VIEW_SEARCH_TEMPLATE", "searchresults" );
@@ -92,7 +92,7 @@
$permalink = $url->postPermalink( $article );
// load the view and redirect the flow
- include_once( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
$this->_view = new RedirectView( $permalink );
return( true );
Modified: plog/trunk/class/action/templateaction.class.php
===================================================================
--- plog/trunk/class/action/templateaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/templateaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/templateview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/templatenamevalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/templateview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/templatenamevalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
/**
* \ingroup Action
@@ -61,7 +61,7 @@
$templateFile = $this->_request->getValue( "show" );
// then, check if it has any extraneous character
if( !$templateFile || strstr( $templateFile, ".." )) {
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
$view = new ErrorView( $this->_blogInfo, "error_parameter_missing" );
$this->setValidationErrorView( $view );
Modified: plog/trunk/class/action/viewalbumaction.class.php
===================================================================
--- plog/trunk/class/action/viewalbumaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/viewalbumaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
define( "VIEW_ALBUMS_TEMPLATE", "albums" );
define( "VIEW_ALBUM_TEMPLATE", "album" );
@@ -66,10 +66,10 @@
return true;
}
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
$galleryResources = new GalleryResources();
$galleryAlbums = new GalleryAlbums();
Modified: plog/trunk/class/action/viewarticleaction.class.php
===================================================================
--- plog/trunk/class/action/viewarticleaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/viewarticleaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
/**
* \ingroup Action
@@ -69,7 +69,7 @@
function _setErrorView()
{
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
$this->_view = new ErrorView( $this->_blogInfo );
$this->_view->setValue( "message", "error_fetching_article" );
@@ -89,7 +89,7 @@
*/
function _updateArticleReferrersById($articleId)
{
- include_once( PLOG_CLASS_PATH."class/dao/referers.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/referers.class.php" );
if ( array_key_exists( 'HTTP_REFERER', $_SERVER ) )
{
@@ -104,7 +104,7 @@
*/
function _updateArticleReferrersByTitle($slug)
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$articles = new Articles();
$id = $articles->getBlogArticleByTitle( $slug, $this->_blogInfo->getId());
// if the article isn't found, we will save a referrer to
@@ -129,8 +129,8 @@
function perform()
{
- include_once( PLOG_CLASS_PATH."class/view/viewarticleview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/viewarticleview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$this->_view = new ViewArticleView( $this->_blogInfo,
Array( "articleId" => $this->_articleId,
@@ -159,10 +159,10 @@
}
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH.'class/data/pager/pager.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/data/pager/pager.class.php' );
// ---
// if we got a category name or a user name instead of a category
Modified: plog/trunk/class/action/viewarticletrackbacksaction.class.php
===================================================================
--- plog/trunk/class/action/viewarticletrackbacksaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/viewarticletrackbacksaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
define( "VIEW_TRACKBACKS_TEMPLATE", "posttrackbacks" );
@@ -60,7 +60,7 @@
function perform()
{
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
$this->_view = new BlogView( $this->_blogInfo,
VIEW_TRACKBACKS_TEMPLATE,
@@ -77,10 +77,10 @@
return true;
}
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
// ---
// if we got a category name or a user name instead of a category
Modified: plog/trunk/class/action/viewresourceaction.class.php
===================================================================
--- plog/trunk/class/action/viewresourceaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/action/viewresourceaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
define( "VIEW_RESOURCE_TEMPLATE", "resource" );
@@ -84,7 +84,7 @@
// try to find the album to which this resource belongs
if( $this->_albumName ) {
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
$galleryAlbums = new GalleryAlbums();
$album = $galleryAlbums->getAlbumByName( $this->_albumName, $this->_blogInfo->getId(), false, false );
if( !$album ) {
Modified: plog/trunk/class/bayesian/bayesianfiltercore.class.php
===================================================================
--- plog/trunk/class/bayesian/bayesianfiltercore.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/bayesian/bayesianfiltercore.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -11,9 +11,9 @@
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesiantokenizer.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bayesianfilterinfos.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bayesiantokens.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesiantokenizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bayesianfilterinfos.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bayesiantokens.class.php" );
/**
* \ingroup Bayesian
Modified: plog/trunk/class/bayesian/bayesianfilterutils.class.php
===================================================================
--- plog/trunk/class/bayesian/bayesianfilterutils.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/bayesian/bayesianfilterutils.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
/**
* \ingroup Bayesian
Modified: plog/trunk/class/bayesian/bayesiantokenizer.class.php
===================================================================
--- plog/trunk/class/bayesian/bayesiantokenizer.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/bayesian/bayesiantokenizer.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/bayesiantoken.class.php" );
- include_once( PLOG_CLASS_PATH."class/bayesian/tokenizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bayesiantoken.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/tokenizer.class.php" );
define( "SPLIT_REG_EXP", "[^a-zA-Z0-9àáèéíïòóúüÀÁÈÉÍÏÒÓÚÜ'$!,.^-]+");
Modified: plog/trunk/class/bootstrap.php
===================================================================
--- plog/trunk/class/bootstrap.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/bootstrap.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -18,11 +18,14 @@
* based on the LT framework such as setting error handles, loading base
* classes, etc
*/
+
+ // load our custom lt_include method to speed up the inclusion of files
+ include_once( PLOG_CLASS_PATH."class/object/loader.class.php" );
// load the Exception class and set the needed error handlers for PHP 4.x
if(PHP_VERSION < 5)
- include_once( PLOG_CLASS_PATH."class/object/exception.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/object/exception.class.php" );
// for performance logging purposes
- include_once( PLOG_CLASS_PATH."class/misc/info.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/info.class.php" );
?>
\ No newline at end of file
Modified: plog/trunk/class/cache/Cache_Lite/Lite.php
===================================================================
--- plog/trunk/class/cache/Cache_Lite/Lite.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/cache/Cache_Lite/Lite.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
-include_once( PLOG_CLASS_PATH."class/object/loggable.class.php" );
+lt_include( PLOG_CLASS_PATH."class/object/loggable.class.php" );
define('CACHE_LITE_ERROR_RETURN', 1);
define('CACHE_LITE_ERROR_DIE', 8);
Modified: plog/trunk/class/cache/memcache.class.php
===================================================================
--- plog/trunk/class/cache/memcache.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/cache/memcache.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH . "class/object/loggable.class.php" );
+ lt_include( PLOG_CLASS_PATH . "class/object/loggable.class.php" );
$__memcache_hits = 0;
$__memcache_misses = 0;
Modified: plog/trunk/class/config/config.class.php
===================================================================
--- plog/trunk/class/config/config.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/config/config.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -98,7 +98,7 @@
// if all went fine, get the name for that class
$className = $storageTypes[$storage];
- include_once( PLOG_CLASS_PATH.'class/config/'.strtolower($className).'.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/config/'.strtolower($className).'.class.php' );
// and create an object
$configInstance[$storage] = new $className( $params );
}
Modified: plog/trunk/class/config/configdbstorage.class.php
===================================================================
--- plog/trunk/class/config/configdbstorage.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/config/configdbstorage.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
- include_once( PLOG_CLASS_PATH."class/cache/cachemanager.class.php" );
- include_once( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
+ lt_include( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/cache/cachemanager.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
/**
* \ingroup Config
@@ -70,7 +70,7 @@
function _initializeDatabase() {
if ($this->_db == null) {
// source the neccessary class files
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
// initialize the connection
$this->_db =& Db::getDb();
Modified: plog/trunk/class/config/configfilestorage.class.php
===================================================================
--- plog/trunk/class/config/configfilestorage.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/config/configfilestorage.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/configabstractstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/configabstractstorage.class.php" );
if (!defined("DEFAULT_CONFIG_FILE")) {
define( "DEFAULT_CONFIG_FILE", PLOG_CLASS_PATH."config/config.properties.php" );
@@ -52,8 +52,8 @@
*/
function reload()
{
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/properties.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/properties.class.php" );
if( File::isReadable( $this->_configFile )) {
include( $this->_configFile );
$this->_props = new Properties( $config );
@@ -105,7 +105,7 @@
$config[\'db_prefix\'] = \'\';
?>';
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
$file = new File( $configFileName );
$writable = $file->open( 'w' );
if ($writable) {
@@ -192,7 +192,7 @@
function saveValue( $name, $value )
{
// open the config file
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
$f = new File( $this->_configFile );
// there was a problem opening the file
Modified: plog/trunk/class/config/siteconfig.class.php
===================================================================
--- plog/trunk/class/config/siteconfig.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/config/siteconfig.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* some default values for the method below
Modified: plog/trunk/class/controller/admincontroller.class.php
===================================================================
--- plog/trunk/class/controller/admincontroller.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/controller/admincontroller.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/controller/controller.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/controller/controller.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
$_plogAdminController_running = null;
Modified: plog/trunk/class/controller/blogcontroller.class.php
===================================================================
--- plog/trunk/class/controller/blogcontroller.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/controller/blogcontroller.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/controller/controller.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/controller/controller.class.php" );
$_plogBlogController_running = null;
Modified: plog/trunk/class/controller/controller.class.php
===================================================================
--- plog/trunk/class/controller/controller.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/controller/controller.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -14,8 +14,8 @@
* from a certain set of folders.
*/
- include_once( PLOG_CLASS_PATH."class/action/action.class.php" );
- include_once( PLOG_CLASS_PATH."class/controller/resourceclassloader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/action.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/controller/resourceclassloader.class.php" );
//
// various constants that will come handy
@@ -75,7 +75,7 @@
* method.
*
* Classes can be dynamically loaded (meaning that we
- * do not need to load all of them via include() or include_once() at the top of our code), via the
+ * do not need to load all of them via include() or lt_include() at the top of our code), via the
* ResourceClassLoader class. This class will scan a set of pre-defined folders looking for the action
* class and load it if it's the one we were looking for.
*
@@ -255,7 +255,7 @@
*/
function process( $httpRequest )
{
- include_once( PLOG_CLASS_PATH."class/net/request.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/request.class.php" );
// get the name of the action
$request = new Request( $httpRequest );
@@ -295,7 +295,7 @@
}
if( !$performed ) {
- include_once( PLOG_CLASS_PATH."class/action/actioninfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/actioninfo.class.php" );
// load the class if it hasn't been loaded yet
$this->loadActionClass( $actionClass );
Modified: plog/trunk/class/controller/resourceclassloader.class.php
===================================================================
--- plog/trunk/class/controller/resourceclassloader.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/controller/resourceclassloader.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -111,9 +111,9 @@
// build up the file name
$fileName = $path.strtolower($actionClassName).$this->_classFileSuffix;
// and see if it exists and can be loaded
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
if( File::exists( $fileName ) && File::isReadable( $fileName )) {
- include_once( $fileName );
+ lt_include( $fileName );
$loaded = true;
}
// increase the counter
Modified: plog/trunk/class/controller/sequentialcontroller.class.php
===================================================================
--- plog/trunk/class/controller/sequentialcontroller.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/controller/sequentialcontroller.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/controller/controller.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/controller/controller.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/session/sessionmanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
define( "SEQUENTIAL_CONTROLLER_SESSION_PARAMETER", "ltSeqControllerCurrentStep" );
@@ -100,12 +100,12 @@
{
global $_plogController_previousAction;
- include_once( PLOG_CLASS_PATH."class/net/request.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/request.class.php" );
// get the name of the action
$request = new Request( $httpRequest );
- include_once( PLOG_CLASS_PATH."class/action/actioninfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/actioninfo.class.php" );
$currentStep = $this->getCurrentStep();
$actionClass = $this->_steps[ $currentStep ];
Modified: plog/trunk/class/dao/archivelink.class.php
===================================================================
--- plog/trunk/class/dao/archivelink.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/archivelink.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/mylink.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylink.class.php" );
/**
* used for the archive links, it extends it adding an additional method to fetch
Modified: plog/trunk/class/dao/article.class.php
===================================================================
--- plog/trunk/class/dao/article.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/article.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
- include_once( PLOG_CLASS_PATH.'class/dao/articlestatus.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/articlecommentstatus.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/dao/articlestatus.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/articlecommentstatus.class.php' );
define( 'POST_EXTENDED_TEXT_MODIFIER', '[@more@]' );
@@ -63,7 +63,7 @@
*/
function Article( $topic, $text, $categories, $user, $blog, $status, $numReads, $properties = Array(), $slug = "", $id = -1 )
{
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
$this->_topic = $topic;
$this->_text = $text;
@@ -232,7 +232,7 @@
function getCategories()
{
if( $this->_categories == null ) {
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
$categories = new ArticleCategories();
foreach( $this->getCategoryIds() as $categoryId ) {
if(( $category = $categories->getCategory( $categoryId )))
@@ -314,7 +314,7 @@
// get the offset
$offset = $this->getTimeOffset();
// and calculate the date without offset
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$date = Timestamp::getDateWithOffset( $this->getDate(), -$offset );
return( $date );
}
@@ -331,7 +331,7 @@
{
// load the comments if they haven't been loaded yet
if( is_null($this->_comments) ) {
- include_once( PLOG_CLASS_PATH.'class/dao/articlecomments.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/articlecomments.class.php' );
$userComments = new ArticleComments();
$blogInfo = $this->getBlogInfo();
$blogSettings = $blogInfo->getSettings();
@@ -365,7 +365,7 @@
{
// load the comments if they haven't been loaded yet
if( is_null($this->_trackbacks) ) {
- include_once( PLOG_CLASS_PATH.'class/dao/trackbacks.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/trackbacks.class.php' );
$trackbacks = new Trackbacks();
$blogInfo = $this->getBlogInfo();
$blogSettings = $blogInfo->getSettings();
@@ -398,7 +398,7 @@
{
// load the user if it hasn't been loaded yet
if( is_null($this->_userInfo) ) {
- include_once( PLOG_CLASS_PATH.'class/dao/users.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/users.class.php' );
$users = new Users();
$this->setUserInfo( $users->getUserInfoFromId( $this->getUser()));
}
@@ -455,7 +455,7 @@
function getBlogInfo()
{
if( $this->_blogInfo == null ) {
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$this->_blogInfo = $blogs->getBlogInfo( $this->getBlogId());
}
@@ -709,7 +709,7 @@
*/
function setDate( $newDate )
{
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
$this->_date = $newDate;
@@ -750,7 +750,7 @@
// get the offset
$offset = $this->getTimeOffset();
// and calculate the date without offset
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$date = Timestamp::getDateWithOffset( $this->getModificationDate(), -$offset );
return( $date );
}
@@ -869,7 +869,7 @@
function getCustomFields()
{
if( is_null( $this->_customFields )) {
- include_once( PLOG_CLASS_PATH.'class/dao/customfields/customfieldsvalues.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/customfields/customfieldsvalues.class.php' );
// get the custom fields
$customFields = new CustomFieldsValues();
$fields = $customFields->getArticleCustomFieldsValues( $this->getId(), $this->getBlog());
@@ -967,7 +967,7 @@
function getPostSlug()
{
if( $this->_slug == "" ) {
- include_once( PLOG_CLASS_PATH.'class/data/textfilter.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/textfilter.class.php' );
$slug = Textfilter::slugify( $this->getTopic());
} else {
$slug = $this->_slug;
@@ -983,7 +983,7 @@
*/
function setPostSlug( $slug )
{
- include_once( PLOG_CLASS_PATH.'class/data/textfilter.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/textfilter.class.php' );
$this->_slug = Textfilter::slugify( $slug );
}
@@ -995,7 +995,7 @@
function getPrevArticle()
{
if( !isset($this->_prevArticle )) {
- include_once( PLOG_CLASS_PATH.'class/dao/articles.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/articles.class.php' );
$articles = new Articles();
$this->_prevArticle = $articles->getBlogPrevArticle( $this );
}
@@ -1011,7 +1011,7 @@
function getNextArticle()
{
if( !isset($this->_nextArticle )) {
- include_once( PLOG_CLASS_PATH.'class/dao/articles.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/articles.class.php' );
$articles = new Articles();
$this->_nextArticle = $articles->getBlogNextArticle( $this );
}
@@ -1033,8 +1033,8 @@
*/
function getArticleResources()
{
- include_once( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
// extract all the "res_XX" values
$regexp ="|<a.*id=\"res_([0-9]+)\".*>.*<\/a>|U";
@@ -1087,7 +1087,7 @@
function getGlobalCategory()
{
if( $this->_globalCategory == null ) {
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
$globalCategories = new GlobalArticleCategories();
$this->_globalCategory = $globalCategories->getGlobalArticleCategory( $this->_globalCategoryId );
}
Modified: plog/trunk/class/dao/articlecategories.class.php
===================================================================
--- plog/trunk/class/dao/articlecategories.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/articlecategories.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/*
* different modes in which the listing of categories can be obtained
Modified: plog/trunk/class/dao/articlecategory.class.php
===================================================================
--- plog/trunk/class/dao/articlecategory.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/articlecategory.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
/**
* \ingroup DAO
@@ -41,7 +41,7 @@
*/
function ArticleCategory( $name, $url, $blogId, $inMainPage, $description = "", $numArticles = 0, $properties = Array(), $id = -1, $lastModification=null, $parentId = 0)
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$this->DbObject();
@@ -248,7 +248,7 @@
*/
function getArticles( $status = POST_STATUS_PUBLISHED )
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
if( !is_array( $this->_articles[$status] ) || $this->_articles[$status] == null ) {
$articles = new Articles();
@@ -348,7 +348,7 @@
function getMangledName()
{
if( $this->_mangledName == "" ) {
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_mangledName = Textfilter::urlize( $this->getName());
}
@@ -374,7 +374,7 @@
function getBlog()
{
if( $this->_blog == null ) {
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
$blogs = new Blogs();
$this->_blog = $blogs->getBlogInfoById( $this->getBlogId());
}
Modified: plog/trunk/class/dao/articlecomments.class.php
===================================================================
--- plog/trunk/class/dao/articlecomments.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/articlecomments.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
/**
* \ingroup DAO
Modified: plog/trunk/class/dao/articlecommentstatus.class.php
===================================================================
--- plog/trunk/class/dao/articlecommentstatus.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/articlecommentstatus.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/status/genericstatuslist.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/status/genericstatuslist.class.php" );
define( "COMMENT_STATUS_ALL", -1, true );
define( "COMMENT_STATUS_NONSPAM", 0, true );
Modified: plog/trunk/class/dao/articlenotification.class.php
===================================================================
--- plog/trunk/class/dao/articlenotification.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/articlenotification.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* \ingroup DAO
Modified: plog/trunk/class/dao/articlenotifications.class.php
===================================================================
--- plog/trunk/class/dao/articlenotifications.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/articlenotifications.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlenotification.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlenotification.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
define( "EMAILNOTIFIER_TEMPLATE", "email_notifier" );
@@ -80,8 +80,8 @@
*/
function notifyUser( $notification, $userInfo, $subject, $body, $charset = 'iso-8859-1' )
{
- include_once( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/mail/emailmessage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/mail/emailmessage.class.php" );
$message = new EmailMessage();
$message->setFrom( $this->_config->getValue( "post_notification_source_address" ));
@@ -102,7 +102,7 @@
*/
function notifyUsers( $postId, $blogInfo, $message = null)
{
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
$blogId = $blogInfo->getId();
@@ -196,7 +196,7 @@
function updateNotify( $blogInfo )
{
// source classes
- include_once( PLOG_CLASS_PATH."class/net/xmlrpcclient.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/xmlrpcclient.class.php" );
require_once( PLOG_CLASS_PATH . 'class/config/config.class.php' );
// if this feature is not enabled, we quit
Modified: plog/trunk/class/dao/articles.class.php
===================================================================
--- plog/trunk/class/dao/articles.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/articles.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/dao/model.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/article.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/articlestatus.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/model.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/article.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/articlestatus.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
/**
* \ingroup DAO
@@ -141,7 +141,7 @@
*/
function getBlogNextArticle( $article )
{
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
$blogInfo = $article->getBlogInfo();
$blogSettings = $blogInfo->getSettings();
@@ -171,7 +171,7 @@
*/
function getBlogPrevArticle( $article )
{
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
// we need to keep the timestamp in mind
$date = $article->getDateObject();
@@ -292,7 +292,7 @@
*/
// prepare the query string
- include_once( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
$searchTerms = SearchEngine::adaptSearchString( $searchTerms );
// Split the search term by space
@@ -353,7 +353,7 @@
}
if( $date != -1 ) {
// consider the time difference
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogInfo = $blogs->getBlogInfo( $blogId );
$blogSettings = $blogInfo->getSettings();
@@ -584,7 +584,7 @@
*/
function getDaysWithPosts( $blogId, $year = null , $month = null )
{
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
$t = new Timestamp();
// if month and/or year are empty, get the current ones
if( $year == null )
@@ -620,7 +620,7 @@
if( !$result )
return Array();
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
$postsPerDay = Array();
while( $row = $result->FetchRow()) {
@@ -667,7 +667,7 @@
$category = $articleCategories->getCategory( $categoryId );
if( $article->getStatus() == POST_STATUS_PUBLISHED ) {
$category->setNumPublishedArticles( $category->getNumPublishedArticles() +1 );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$category->setLastModification( new Timestamp());
}
$category->setNumArticles( $category->getNumAllArticles() + 1 );
@@ -732,7 +732,7 @@
*/
function updateGlobalArticleCategoriesLink( $article, $oldArticle = null )
{
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
$cats = new GlobalArticleCategories();
$artCategory = $article->getGlobalCategory();
@@ -765,7 +765,7 @@
function addArticle( &$newArticle )
{
// Check if we need to force the article slug to be unique
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
if($config->getValue("force_posturl_unique"))
{
@@ -785,8 +785,8 @@
$newArticle->setPostSlug($slug);
}
- include_once( PLOG_CLASS_PATH.'class/dao/customfields/customfields.class.php' );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/dao/customfields/customfields.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$result = $this->add( $newArticle );
@@ -822,7 +822,7 @@
}
// and finally clear the cache :)
- include_once( PLOG_CLASS_PATH."class/dao/recentarticles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/recentarticles.class.php" );
RecentArticles::resetRecentArticlesCache( $newArticle->getBlogId());
$this->_cache->removeData( $newArticle->getBlogId(), CACHE_ARTICLESPERMONTH );
@@ -923,7 +923,7 @@
function updateArticle( $article )
{
// Check if we need to force the article slug to be unique
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
if($config->getValue("force_posturl_unique"))
{
@@ -986,7 +986,7 @@
}
// clean up the cache
- include_once( PLOG_CLASS_PATH."class/dao/recentarticles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/recentarticles.class.php" );
RecentArticles::resetRecentArticlesCache( $article->getBlogId());
$this->_cache->removeData( $article->getBlogId(), CACHE_ARTICLESPERMONTH );
$this->_cache->removeData( $article->getId(), CACHE_ARTICLETEXT );
@@ -1008,7 +1008,7 @@
*/
function updateArticleCustomFields( $artId, $blogId, $fields )
{
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
$customFields = new CustomFieldsValues();
// first remove the values
@@ -1100,11 +1100,11 @@
*/
function deleteArticle( $artId, $userId, $blogId, $forever = false )
{
- include_once( PLOG_CLASS_PATH.'class/dao/articlecomments.class.php' );
- include_once( PLOG_CLASS_PATH.'class/database/db.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/trackbacks.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/customfields/customfieldsvalues.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/articlenotifications.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/articlecomments.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/database/db.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/trackbacks.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/customfields/customfieldsvalues.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/articlenotifications.class.php' );
$article = $this->getBlogArticle( $artId, $blogId, true, -1, -1, $userId );
if( !$article )
@@ -1140,7 +1140,7 @@
// update global article categories
$this->updateGlobalArticleCategoriesLink( $article );
- include_once( PLOG_CLASS_PATH."class/dao/recentarticles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/recentarticles.class.php" );
RecentArticles::resetRecentArticlesCache( $blogId );
$this->_cache->removeData( $blogId, CACHE_ARTICLESPERMONTH );
$this->_cache->removeData( $artId, CACHE_ARTICLES );
@@ -1226,10 +1226,10 @@
*/
function mapRow( $query_result )
{
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/users.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/blogs.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/users.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/blogs.class.php' );
$id = $query_result['id'];
Modified: plog/trunk/class/dao/articlestatus.class.php
===================================================================
--- plog/trunk/class/dao/articlestatus.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/articlestatus.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/status/genericstatuslist.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/status/genericstatuslist.class.php" );
define( "POST_STATUS_ALL", -1, true );
define( "POST_STATUS_PUBLISHED", 1, true );
Modified: plog/trunk/class/dao/bayesianfilterinfo.class.php
===================================================================
--- plog/trunk/class/dao/bayesianfilterinfo.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/bayesianfilterinfo.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* \ingroup DAO
Modified: plog/trunk/class/dao/bayesianfilterinfos.class.php
===================================================================
--- plog/trunk/class/dao/bayesianfilterinfos.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/bayesianfilterinfos.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bayesianfilterinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bayesianfilterinfo.class.php" );
/**
* \ingroup DAO
Modified: plog/trunk/class/dao/bayesiantoken.class.php
===================================================================
--- plog/trunk/class/dao/bayesiantoken.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/bayesiantoken.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
define("TOKEN_DEFAULT_PROBABILITY", 0.4);
Modified: plog/trunk/class/dao/bayesiantokens.class.php
===================================================================
--- plog/trunk/class/dao/bayesiantokens.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/bayesiantokens.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bayesiantoken.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bayesiantoken.class.php" );
/**
* Takes care of dealing with fetching filtered contents from the database
Modified: plog/trunk/class/dao/blogcategories.class.php
===================================================================
--- plog/trunk/class/dao/blogcategories.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/blogcategories.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategory.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/**
* \ingroup DAO
Modified: plog/trunk/class/dao/blogcategory.class.php
===================================================================
--- plog/trunk/class/dao/blogcategory.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/blogcategory.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogstatus.class.php" );
/**
* \ingroup DAO
@@ -99,7 +99,7 @@
elseif( $status == BLOG_STATUS_ACTIVE )
return( $this->_numActiveBlogs );
else {
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
$categories = new BlogCategories();
return( $categories->getNumBlogsCategory( $this->getId(), $status ));
}
@@ -160,7 +160,7 @@
function getMangledName()
{
if( $this->_mangledName == "" ) {
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_mangledName = Textfilter::urlize( $this->getName() );
}
Modified: plog/trunk/class/dao/bloginfo.class.php
===================================================================
--- plog/trunk/class/dao/bloginfo.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/bloginfo.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogsettings.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogsettings.class.php" );
/**
* \ingroup DAO
@@ -44,7 +44,7 @@
function BlogInfo( $blog, $owner, $about, $settings, $id = -1 )
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$this->DbObject();
@@ -214,7 +214,7 @@
*/
function getCreateDateObject()
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
return( new Timestamp( $this->_createDate ));
}
@@ -232,7 +232,7 @@
*/
function getUpdateDateObject()
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
return( new Timestamp( $this->_updateDate ));
}
@@ -297,7 +297,7 @@
*/
function getOwnerInfo()
{
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
if( $this->_ownerInfo === null ) {
$users = new Users();
@@ -316,7 +316,7 @@
*/
function getUsersInfo()
{
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
if( $this->_usersInfo === null ) {
$users = new Users();
@@ -342,7 +342,7 @@
*/
function setBlog( $blog )
{
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$tf = new Textfilter();
$this->_blog = $tf->filterAllHTML($blog);
@@ -434,7 +434,7 @@
*/
function getBlogRequestGenerator()
{
- include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
return RequestGenerator::getRequestGenerator( $this );
}
@@ -450,7 +450,7 @@
// since including these files is quite a costly operation, let's do it only
// whenever we have to instead of always and always always... :)
if( $this->_templateSet === null ) {
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
$ts = new TemplateSets();
$this->_templateSet = $ts->getTemplateSet( $this->getTemplate(), $this->getId());
if( $this->_templateSet == null ) {
@@ -483,7 +483,7 @@
function &getLocale()
{
if( $this->_locale === null ) {
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
$this->_locale =& Locales::getLocale( $this->getSetting( "locale" ), "en_UK" );
}
@@ -540,7 +540,7 @@
// if there is no quota for this blog, then fetch it from the global
// settings
if( $quota == "" ) {
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcequotas.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcequotas.class.php" );
$quota = GalleryResourceQuotas::getGlobalResourceQuota();
}
@@ -596,7 +596,7 @@
return( false );
if( $this->_category == null ) {
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
$blogCategories = new BlogCategories();
$this->_category = $blogCategories->getBlogCategory( $this->_categoryId );
}
@@ -611,7 +611,7 @@
*/
function setMangledBlogName( $mangledBlog )
{
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_mangledBlog = Textfilter::domainize( $mangledBlog );
}
@@ -622,7 +622,7 @@
{
// fill in the field if it hasn't been filled yet
if( $this->_mangledBlog === null ) {
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_mangledBlog = Textfilter::domainize( $this->getBlog());
}
@@ -637,7 +637,7 @@
*/
function setCustomDomain($customDomain)
{
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_customDomain = Textfilter::domainize($customDomain);
}
@@ -648,7 +648,7 @@
{
// fill in the field if it hasn't been filled yet
if($this->_customDomain === null){
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_customDomain = Textfilter::domainize($this->getMangledBlog());
}
Modified: plog/trunk/class/dao/bloglinks.class.php
===================================================================
--- plog/trunk/class/dao/bloglinks.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/bloglinks.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,5 +1,5 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* \ingroup DAO
Modified: plog/trunk/class/dao/blogs.class.php
===================================================================
--- plog/trunk/class/dao/blogs.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/blogs.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
define( "ALL_BLOG_CATEGORIES", 0 );
@@ -70,7 +70,7 @@
*/
function updateBlogCategoriesLink( $blogInfo, $oldBlogInfo = null )
{
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
$blogCategories = new BlogCategories();
$blogCategory = $blogInfo->getBlogCategory();
@@ -155,8 +155,8 @@
function addBlog( &$blog )
{
// source classes
- include_once( PLOG_CLASS_PATH."class/dao/bayesianfilterinfos.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bayesianfilterinfos.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$blogSettings = $blog->getSettings();
if( !$blogSettings )
@@ -377,7 +377,7 @@
$blogId = $blog->getId();
$this->deleteBlog( $blogId );
// This is a ugly hack, or there is no place the clean these deleted blogs' cache
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
CacheControl::resetBlogCache( $blogId, false );
}
@@ -390,7 +390,7 @@
function mapRow( $row )
{
// source class
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
// create new BlogInfo
$blogInfo = new BlogInfo( stripslashes($row["blog"]),
Modified: plog/trunk/class/dao/blogsettings.class.php
===================================================================
--- plog/trunk/class/dao/blogsettings.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/blogsettings.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/properties.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/properties.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* default time offset that is applied to new blogs
Modified: plog/trunk/class/dao/blogstatus.class.php
===================================================================
--- plog/trunk/class/dao/blogstatus.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/blogstatus.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/status/genericstatuslist.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/status/genericstatuslist.class.php" );
define( "BLOG_STATUS_ALL", -1, true );
define( "BLOG_STATUS_ACTIVE", 1, true );
Modified: plog/trunk/class/dao/commentscommon.class.php
===================================================================
--- plog/trunk/class/dao/commentscommon.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/commentscommon.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/**
* different orders that comments can have
@@ -55,7 +55,7 @@
function addComment( &$comment )
{
if(( $result = $this->add( $comment ))) {
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$this->_cache->removeData( $comment->getArticleId(), CACHE_ARTICLE_COMMENTS_BYARTICLE );
// update the article comments
$article = $comment->getArticle();
@@ -129,7 +129,7 @@
$blog = $article->getBlogInfo();
$blogSettings = $blog->getSettings();
$timeDiff = $blogSettings->getValue( "time_offset" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
foreach( $comments as $comment ) {
if( $this->check( $comment, $type, $status )) {
$date = Timestamp::getDateWithOffset( $comment->getDate(), $timeDiff );
@@ -175,7 +175,7 @@
*/
function getNumPostComments( $artId, $status = COMMENT_STATUS_ALL, $type = COMMENT_TYPE_ANY )
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$numComments = 0;
$articles = new Articles();
$article = $articles->getArticle( $artId );
@@ -219,7 +219,7 @@
{
if( $status == COMMENT_STATUS_ALL && $type != COMMENT_TYPE_ANY && $searchTerms == "" ) {
// fast case, we can load the blog and query one of its intrinsic fields
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogInfo = $blogs->getBlogInfo( $blogId );
if( !$blogInfo )
@@ -272,8 +272,8 @@
$this->_cache->removeData( $comment->getId(), CACHE_ARTICLE_COMMENTS );
// update the blog and the article counters
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$article = $comment->getArticle();
$blog = $article->getBlogInfo();
@@ -322,7 +322,7 @@
$this->_cache->removeData( $comment->getArticleId(), CACHE_ARTICLE_COMMENTS_BYARTICLE );
$this->_cache->removeData( $comment->getId(), CACHE_ARTICLE_COMMENTS );
// update counters in the articles table according to the status
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$articles = new Articles();
// load the article
$article = $comment->getArticle();
@@ -370,8 +370,8 @@
return false;
// and update article counters of comments
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$articles = new Articles();
$blogs = new Blogs();
while( $row = $resultArticles->FetchRow()) {
@@ -552,7 +552,7 @@
*/
function getSearchConditions( $searchTerms )
{
- include_once( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
$query = SearchEngine::adaptSearchString($searchTerms);
Modified: plog/trunk/class/dao/customfields/customfield.class.php
===================================================================
--- plog/trunk/class/dao/customfields/customfield.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/customfields/customfield.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* Defines a custom field
@@ -70,7 +70,7 @@
function setName( $name )
{
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_name = Textfilter::filterAllHTML( $name );
}
Modified: plog/trunk/class/dao/customfields/customfieldcheckboxvalue.class.php
===================================================================
--- plog/trunk/class/dao/customfields/customfieldcheckboxvalue.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/customfields/customfieldcheckboxvalue.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
/**
* offers methods for dealing with checkboxes
Modified: plog/trunk/class/dao/customfields/customfielddatevalue.class.php
===================================================================
--- plog/trunk/class/dao/customfields/customfielddatevalue.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/customfields/customfielddatevalue.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
/**
* offers methods for dealing with custom fields that represent dates
@@ -41,7 +41,7 @@
*/
function setValue( $value )
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$this->_timestamp = new Timestamp();
$dateTimeParts = explode(" ", $value );
@@ -66,7 +66,7 @@
*/
function getDateFormatted()
{
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
$locale = Locales::getLocale( "en_UK" );
$dateFormatted = $locale->formatDate( $this->getDateObject(), "%d/%m/%Y %H:%M" );
@@ -81,7 +81,7 @@
*/
function getDefaultValue()
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
return( new Timestamp());
}
Modified: plog/trunk/class/dao/customfields/customfieldlistvalue.class.php
===================================================================
--- plog/trunk/class/dao/customfields/customfieldlistvalue.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/customfields/customfieldlistvalue.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
/**
* offers methods for dealing with custom fields that use drop-down lists that
Modified: plog/trunk/class/dao/customfields/customfields.class.php
===================================================================
--- plog/trunk/class/dao/customfields/customfields.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/customfields/customfields.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfield.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfield.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/**
* different custom field types available
Modified: plog/trunk/class/dao/customfields/customfieldsvalues.class.php
===================================================================
--- plog/trunk/class/dao/customfields/customfieldsvalues.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/customfields/customfieldsvalues.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldvaluefactory.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldvaluefactory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/**
* Model for the values given to certain custom fields
@@ -144,7 +144,7 @@
*/
function getSearchConditions( $searchTerms )
{
- include_once( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
$query = SearchEngine::adaptSearchString($searchTerms);
Modified: plog/trunk/class/dao/customfields/customfieldvalue.class.php
===================================================================
--- plog/trunk/class/dao/customfields/customfieldvalue.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/customfields/customfieldvalue.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* Defines a value assigned to a custom field
@@ -44,7 +44,7 @@
function _loadFieldDefinition()
{
if( $this->_customField == null ) {
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
$customFields = new CustomFields();
$this->_customField = $customFields->getCustomField( $this->_fieldId );
}
@@ -78,7 +78,7 @@
function getArticle()
{
if( $this->_article == null ) {
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$articles = new Articles();
$this->_article = $articles->getBlogArticle( $this->_articleId, $this->_blogId );
}
@@ -98,7 +98,7 @@
function getNormalizedValue()
{
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$filter = new Textfilter();
return( $filter->normalizeText($this->getValue()));
}
Modified: plog/trunk/class/dao/customfields/customfieldvaluefactory.class.php
===================================================================
--- plog/trunk/class/dao/customfields/customfieldvaluefactory.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/customfields/customfieldvaluefactory.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfielddatevalue.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldcheckboxvalue.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldlistvalue.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldvalue.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfielddatevalue.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldcheckboxvalue.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldlistvalue.class.php" );
/**
* Generates the right CustomFieldValue (or subclass of it)
@@ -76,7 +76,7 @@
function getCustomFieldValueByFieldId( $fieldId, $row )
{
// load the field definition first
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
$customFields = new CustomFields();
$customField = $customFields->getCustomField( $fieldId );
if( !$customField )
Modified: plog/trunk/class/dao/globalarticlecategories.class.php
===================================================================
--- plog/trunk/class/dao/globalarticlecategories.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/globalarticlecategories.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategory.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/**
* \ingroup DAO
Modified: plog/trunk/class/dao/globalarticlecategory.class.php
===================================================================
--- plog/trunk/class/dao/globalarticlecategory.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/globalarticlecategory.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
/**
* \ingroup DAO
@@ -100,7 +100,7 @@
elseif( $status == POST_STATUS_PUBLISHED )
return( $this->_numActiveArticles );
else {
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
$categories = new GlobalArticleCategories();
return( $categories->getNumArticlesCategory( $this->getId(), $status ));
}
@@ -148,7 +148,7 @@
function getMangledName()
{
if( $this->_mangledName == "" ) {
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_mangledName = Textfilter::urlize( $this->getName() );
}
Modified: plog/trunk/class/dao/model.class.php
===================================================================
--- plog/trunk/class/dao/model.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/model.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -42,7 +42,7 @@
*
*/
- include_once( PLOG_CLASS_PATH."class/object/loggable.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/object/loggable.class.php" );
/**
* default database prefix, if none other specified
@@ -107,7 +107,7 @@
$this->Loggable();
// allow a cache for all dao objects
- include_once( PLOG_CLASS_PATH . "class/cache/cachemanager.class.php" );
+ lt_include( PLOG_CLASS_PATH . "class/cache/cachemanager.class.php" );
$this->_cache =& CacheManager::getCache( $cacheEnabled );
}
@@ -136,7 +136,7 @@
// error log file
if( !$result ) {
$this->_lastError = $this->_db->ErrorMsg();
- include_once( PLOG_CLASS_PATH . "class/logger/loggermanager.class.php" );
+ lt_include( PLOG_CLASS_PATH . "class/logger/loggermanager.class.php" );
$log =& LoggerManager::getLogger( "sqlerr" );
$error = $this->DbError();
@@ -422,7 +422,7 @@
*/
function update( &$dbObject )
{
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
$fields = $dbObject->getFieldGetters();
$sql = "UPDATE `".$this->table."` SET ";
@@ -472,7 +472,7 @@
function getPrefix()
{
if ( $this->_prefix === null ) {
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
$this->_prefix = Db::getPrefix();
}
@@ -517,7 +517,7 @@
function _initializeDb()
{
if ( !$this->_dbInitialized ) {
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
$this->_db =& Db::getDb();
Modified: plog/trunk/class/dao/mylink.class.php
===================================================================
--- plog/trunk/class/dao/mylink.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/mylink.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategory.class.php" );
/**
* \ingroup DAO
@@ -43,7 +43,7 @@
$this->_id = $id;
$this->_rssFeed = $rssFeed;
if( $date == "" ) {
- include_once( PLOG_CLASS_PATH."class/data/Date.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/Date.class.php" );
$dateObject = new Date();
$date = $dateObject->getDate();
}
@@ -174,7 +174,7 @@
function setDate( $newDate )
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$this->_date = $newDate;
$this->_timestamp = new Timestamp( $newDate );
@@ -183,7 +183,7 @@
function getMyLinkCategory()
{
if( !$this->_category ) {
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
$categories = new MyLinksCategories();
$this->_category = $categories->getMyLinksCategory( $this->getCategoryId());
}
Modified: plog/trunk/class/dao/mylinks.class.php
===================================================================
--- plog/trunk/class/dao/mylinks.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/mylinks.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylink.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylink.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/**
* \ingroup DAO
@@ -180,7 +180,7 @@
$this->_cache->removeData( $myLink->getId(), CACHE_MYLINKS );
$this->_cache->removeData( $myLink->getBlogId(), CACHE_MYLINKS_ALL );
// and update the link category counters
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
$linkCategories = new MyLinksCategories();
if( $prevVersion->getCategoryId() != $myLink->getCategoryId()) {
// add one to the new category
Modified: plog/trunk/class/dao/mylinkscategories.class.php
===================================================================
--- plog/trunk/class/dao/mylinkscategories.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/mylinkscategories.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategory.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
define( "MYLINKS_CATEGORIES_NO_ORDER", 0 );
define( "MYLINKS_CATEGORIES_ALPHABETICAL_ORDER", 1 );
@@ -197,7 +197,7 @@
*/
function updateCategoryModificationDate( $categoryId )
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$category = $this->getMyLinksCategory( $categoryId );
if( $category ) {
$category->setLastModification( Timestamp::getNowTimestamp());
@@ -212,7 +212,7 @@
*/
function updateLastModification( $categoryId , $lastModification)
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$category = $this->getMyLinksCategory( $categoryId );
if( $category ) {
$category->setLastModification( Timestamp::getNowTimestamp());
Modified: plog/trunk/class/dao/mylinkscategory.class.php
===================================================================
--- plog/trunk/class/dao/mylinkscategory.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/mylinkscategory.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* \ingroup DAO
@@ -27,7 +27,7 @@
*/
function MyLinksCategory( $name, $blogId, $numLinks = 0, $properties = Array(), $id = -1 )
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$this->DbObject();
Modified: plog/trunk/class/dao/permission.class.php
===================================================================
--- plog/trunk/class/dao/permission.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/permission.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* \ingroup DAO
@@ -102,7 +102,7 @@
*/
function getNumUsersWithPermission()
{
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
$perms = new UserPermissions();
return( $perms->getNumUsersWithPermission( $this->getId()));
}
Modified: plog/trunk/class/dao/permissions.class.php
===================================================================
--- plog/trunk/class/dao/permissions.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/permissions.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/permission.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/permission.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/**
* \ingroup DAO
Modified: plog/trunk/class/dao/recentarticles.class.php
===================================================================
--- plog/trunk/class/dao/recentarticles.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/recentarticles.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/**
* small wrapper to Articles that loads and caches recent articles. As an API user, you probably
@@ -24,7 +24,7 @@
// check if the data is there
$recentPosts = $this->_cache->getData( $blogId, CACHE_RECENT_ARTICLES_BY_BLOG );
if( !$recentPosts ) {
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$t = new Timestamp();
$todayTimestamp = $t->getTimestamp();
Modified: plog/trunk/class/dao/referer.class.php
===================================================================
--- plog/trunk/class/dao/referer.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/referer.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* \ingroup DAO
@@ -31,7 +31,7 @@
*/
function Referer( $url, $articleId, $blogId, $date, $count = 0, $id = 0 )
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$this->DbObject();
$this->_url = $url;
Modified: plog/trunk/class/dao/searchengine.class.php
===================================================================
--- plog/trunk/class/dao/searchengine.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/searchengine.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/searchresult.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/searchresult.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogstatus.class.php" );
define( "SEARCH_ARTICLE", 1 );
define( "SEARCH_BLOG", 2 );
@@ -36,7 +36,7 @@
function adaptSearchString( $searchTerms )
{
// load this module only if needed...
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$tf = new Textfilter();
$resultTerms = $tf->filterCharacters( $searchTerms, Array( '"', ';', '.' ));
$resultTerms = Db::qstr($resultTerms);
@@ -97,7 +97,7 @@
$result = $this->Execute( $query, $page, $itemsPerPage );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$articles = new Articles();
if( !$result )
@@ -148,9 +148,9 @@
*/
function getArticleSearchConditions( $searchTerms )
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfieldsvalues.class.php" );
$prefix = $this->getPrefix();
@@ -255,13 +255,13 @@
if ( $status == -1 )
$status = BLOG_STATUS_ACTIVE;
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$result = $blogs->getNumBlogs( $status, ALL_BLOG_CATEGORIES, $searchTerms );
}
else {
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
$resources = new GalleryResources();
$result = $resources->getNumUserResources( -1, // owner id
@@ -286,7 +286,7 @@
*/
function searchBlogs( $searchTerms, $blogStatus = BLOG_STATUS_ACTIVE, $page = -1, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogsResult = $blogs->getAllBlogs( $blogStatus,
@@ -315,7 +315,7 @@
*/
function searchGalleryResources( $ownerId, $searchTerms, $page = -1, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )
{
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
$galleryResources = new GalleryResources();
$galleryResourcesResult = $galleryResources->getUserResources( $ownerId,
Modified: plog/trunk/class/dao/sitestatistics.class.php
===================================================================
--- plog/trunk/class/dao/sitestatistics.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/sitestatistics.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
/**
* This class provides some statistics about the site.
@@ -48,7 +48,7 @@
function getNumberOfPostsToday()
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$today = new Timestamp();
$todayTimestamp = $today->getYear().$today->getMonth().$today->getDay();
@@ -60,7 +60,7 @@
function getNumberOfPostsThisMonth()
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$today = new Timestamp();
$monthTimestamp = $today->getYear().$today->getMonth();
Modified: plog/trunk/class/dao/trackback.class.php
===================================================================
--- plog/trunk/class/dao/trackback.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/trackback.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
/**
* Represents a trackback item, even though in pLog 1.1 trackbacks are
Modified: plog/trunk/class/dao/trackbackclient.class.php
===================================================================
--- plog/trunk/class/dao/trackbackclient.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/trackbackclient.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
define( "TRACKBACK_SUCCESS", 0 );
define( "TRACKBACK_FAILED", 1 );
Modified: plog/trunk/class/dao/trackbacks.class.php
===================================================================
--- plog/trunk/class/dao/trackbacks.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/trackbacks.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/trackback.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/trackback.class.php" );
define( 'NO_TRACKBACKS', 'no trackbacks available' );
Modified: plog/trunk/class/dao/usercomment.class.php
===================================================================
--- plog/trunk/class/dao/usercomment.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/usercomment.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
/**
* This class represents a comment made by a casual user to an article. Please use the getter methods
@@ -60,7 +60,7 @@
$this->_status = $status;
if( $date == null ) {
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$t = new Timestamp();
$date = $t->getTimestamp();
@@ -257,7 +257,7 @@
function setDate( $newdate )
{
// source necessary source
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$this->_date = $newdate;
@@ -498,7 +498,7 @@
function setNormalizedText( $normalizedText )
{
// do a normalization again, just in case
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_normalizedText = TextFilter::normalizeText( $normalizedText );
}
@@ -524,7 +524,7 @@
function setNormalizedTopic( $normalizedTopic )
{
// do a normalization again, just in case
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_normalizedTopic = TextFilter::normalizeText( $normalizedTopic );
}
@@ -562,7 +562,7 @@
function getUser()
{
if( $this->_userId != 0 ) {
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
$users = new Users();
$this->_user = $users->getUserInfoFromId( $this->_userId );
}
Modified: plog/trunk/class/dao/userdata/baseuserdataprovider.class.php
===================================================================
--- plog/trunk/class/dao/userdata/baseuserdataprovider.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/userdata/baseuserdataprovider.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
/**
* This is the base class that defines the methods that all user-data providers must implement.
@@ -93,7 +93,7 @@
*/
function getUsersBlogs( $userid, $status = BLOG_STATUS_ALL )
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$usersBlogs = Array();
$blogs = new Blogs();
$ids = Array();
@@ -140,7 +140,7 @@
*/
function mapRow( $query_result )
{
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
isset( $query_result["properties"] ) ? $properties = unserialize( $query_result["properties"] ) : $properties = Array();
@@ -183,7 +183,7 @@
*/
function updateUser( $userInfo )
{
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
return( true );
}
Modified: plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php
===================================================================
--- plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/userdata/baseuserdataprovider.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userdata/baseuserdataprovider.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
/**
* Model representing the users in our application. Provides the methods such as
@@ -247,7 +247,7 @@
// first, delete all of his/her permissions
$user = $this->getUserInfoFromId( $userId );
if( $this->delete( "id", $userId )) {
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
$perms = new UserPermissions();
$perms->revokeUserPermissions( $userId );
$this->_cache->removeData( $userId, CACHE_USERINFO );
@@ -304,7 +304,7 @@
*/
function getSearchConditions( $searchTerms )
{
- include_once( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
// prepare the query string
$searchTerms = SearchEngine::adaptSearchString( $searchTerms );
Modified: plog/trunk/class/dao/userdata/phpbb2userdataprovider.class.php
===================================================================
--- plog/trunk/class/dao/userdata/phpbb2userdataprovider.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/userdata/phpbb2userdataprovider.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/userdata/baseuserdataprovider.class.php" );
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userdata/baseuserdataprovider.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
/**
* Model representing the users in our application. Provides the methods such as
@@ -116,7 +116,7 @@
*/
function getUserInfoFromId( $userid, $extendedInfo = false )
{
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
$query = "SELECT * FROM ".$this->_phpbbprefix."users WHERE user_id = '".Db::qstr( $userid )."'";
@@ -140,9 +140,9 @@
function phpBB2AddBlog( $row )
{
// create a new blog
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
$blogs = new Blogs();
$blog = new BlogInfo( $row["user"], // name of the new blog
@@ -177,7 +177,7 @@
function _mapUserInfoObject( $row, $extraInfo = false )
{
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
$plogPhpBB2Data = $this->getpLogPHPBBUserData( $row["user_id"] );
Modified: plog/trunk/class/dao/userdata/simplepostnukeuserdataprovider.class.php
===================================================================
--- plog/trunk/class/dao/userdata/simplepostnukeuserdataprovider.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/userdata/simplepostnukeuserdataprovider.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/userdata/baseuserdataprovider.class.php" );
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userdata/baseuserdataprovider.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
/**
* Model representing the users in our application. Provides the methods such as
@@ -131,9 +131,9 @@
*/
function _PostNukeAddBlog( &$username, &$userid )
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
$config =& Config::getConfig();
$locale =& Locales::getLocale( $config->getValue( "default_locale" ));
@@ -360,7 +360,7 @@
{
// first, delete all of his/her permissions
if( $this->delete( $userId )) {
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
$perms = new UserPermissions();
$perms->revokeUserPermissions( $userId );
$this->_cache->removeData( $userId, CACHE_USERINFO );
@@ -382,7 +382,7 @@
// being deleted as a result of deleting the blog's owner
// first delete all resources
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
$galleryresources = new GalleryResources();
$r_query = "SELECT gr.id AS id, gr.owner_id as owner_id
FROM ".$this->getPrefix()."gallery_resources AS gr, ".$this->getPrefix()."blogs AS b, ".$this->getPrefix()."users AS u
@@ -414,7 +414,7 @@
// check if the deleted user owns any blog, if they does, delete the blog
// the deleteBlog function will take care of deleting articles etc...
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$userfolder = new GalleryResourceStorage();
@@ -518,7 +518,7 @@
*/
function getSearchConditions( $searchTerms )
{
- include_once( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
// prepare the query string
$searchTerms = SearchEngine::adaptSearchString( $searchTerms );
Modified: plog/trunk/class/dao/userinfo.class.php
===================================================================
--- plog/trunk/class/dao/userinfo.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/userinfo.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
/**
* Represents a user in our application. Includes information such as the username,
@@ -128,7 +128,7 @@
function getBlogs()
{
if( $this->_blogs == null ) {
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
$users = new Users();
$this->_blogs = $users->getUsersBlogs($this->getId());
}
@@ -156,7 +156,7 @@
function setUsername( $newUsername )
{
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_username = Textfilter::filterAllHTML( $newUsername );
}
@@ -256,7 +256,7 @@
*/
function _loadPicture()
{
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
$resources = new GalleryResources();
$picture = $resources->getResource( $this->_resourcePictureId );
@@ -306,7 +306,7 @@
function hasPermission( $permission, $blogId )
{
if( !isset($this->perms[$blogId] )) {
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
$perms = new UserPermissions();
$this->perms[$blogId] = $perms->getUserPermissions( $this->getId(), $blogId );
}
@@ -317,7 +317,7 @@
function getPermissions( $blogId )
{
if( !isset($this->perms[$blogId] )) {
- include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );
$perms = new UserPermissions();
$kk = $perms->getUserPermissions( $this->getId(), $blogId );
$this->perms[$blogId] = $kk;
Modified: plog/trunk/class/dao/userpermission.class.php
===================================================================
--- plog/trunk/class/dao/userpermission.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/userpermission.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* represents a permission from the database
@@ -56,7 +56,7 @@
function getBlogInfo()
{
if( $this->_blog === null ) {
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$this->_blog = $blogs->getBlogInfo( $this->getBlogId());
}
@@ -78,7 +78,7 @@
function getPermission()
{
if( $this->_perm === null ) {
- include_once( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
$perms = new Permissions();
$this->_perm = $perms->getPermission( $this->_permId );
}
@@ -111,7 +111,7 @@
function getUserInfo()
{
if( $this->_user === null ) {
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
$users = new Users();
$this->_user = $users->getUserInfo( $this->getBlogId());
}
Modified: plog/trunk/class/dao/userpermissions.class.php
===================================================================
--- plog/trunk/class/dao/userpermissions.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/userpermissions.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userpermission.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userpermission.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" );
//
// :KLUDGE: This should be done in a better way...
@@ -39,7 +39,7 @@
$perms = Array();
// check if the user is the blog owner
- /*include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ /*lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogInfo = $blogs->getBlogInfo( $blogId );
if( !$blogInfo )
@@ -143,7 +143,7 @@
*/
function revokeBlogPermissions( $blogId )
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogInfo = $blogs->getBlogInfo( $blogId );
@@ -176,7 +176,7 @@
// load the blog to check whether it is there and to filter out
// the blog owner
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blog = $blogs->getBlogInfo( $blogId );
if( !$blog )
Modified: plog/trunk/class/dao/users.class.php
===================================================================
--- plog/trunk/class/dao/users.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/users.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -25,7 +25,7 @@
function _loadUserDataProvider()
{
// load the config file
- include_once( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
$config = new ConfigFileStorage( Array( "file" => PLOG_CLASS_PATH."config/userdata.properties.php" ));
// see which class has been configured as the user data provider
@@ -35,7 +35,7 @@
}
// try to load the class
- include_once( PLOG_CLASS_PATH."class/dao/userdata/".strtolower( $providerClass ).".class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userdata/".strtolower( $providerClass ).".class.php" );
// try to check if the class has been defined at all...
if( !class_exists( $providerClass )) {
@@ -163,7 +163,7 @@
*/
function purgeUsers()
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$users = $this->_provider->getAllUsers( USER_STATUS_DISABLED );
Modified: plog/trunk/class/dao/userstatus.class.php
===================================================================
--- plog/trunk/class/dao/userstatus.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/dao/userstatus.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/status/genericstatuslist.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/status/genericstatuslist.class.php" );
define( "USER_STATUS_ALL", -1, true );
define( "USER_STATUS_ACTIVE", 1, true );
Modified: plog/trunk/class/data/captcha/captcha.class.php
===================================================================
--- plog/trunk/class/data/captcha/captcha.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/captcha/captcha.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -128,7 +128,7 @@
*/
function validate( $code )
{
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
$encrypt = $this->encrypt($code, $this->key);
$tempFile = $this->cacheFolder."/".$encrypt.".gif";
$result = File::exists( $tempFile );
@@ -142,7 +142,7 @@
*/
function purgeOld( $expireTime = CAPTCHA_DEFAULT_EXPIRATION_TIME )
{
- include_once( PLOG_CLASS_PATH."class/misc/glob.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/glob.class.php" );
$files = Glob::myGlob( $this->cacheFolder, "*.gif" );
if( $files ) {
foreach( $files as $file ) {
Modified: plog/trunk/class/data/forms/formvalidator.class.php
===================================================================
--- plog/trunk/class/data/forms/formvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/forms/formvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -135,7 +135,7 @@
*/
function registerField( $fieldName )
{
- include_once( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emptyvalidator.class.php" );
$this->registerFieldValidator( $fieldName, new EmptyValidator());
return true;
Modified: plog/trunk/class/data/jalalicalendar.class.php
===================================================================
--- plog/trunk/class/data/jalalicalendar.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/jalalicalendar.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
// lang file must be at the same directory
-include_once( PLOG_CLASS_PATH."class/data/jalalicalendarstrings.properties.php" );
+lt_include( PLOG_CLASS_PATH."class/data/jalalicalendarstrings.properties.php" );
/**
* \ingroup data
Modified: plog/trunk/class/data/plogcalendar.class.php
===================================================================
--- plog/trunk/class/data/plogcalendar.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/plogcalendar.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/Date.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/htmlcalendar.class.php" );
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
- include_once( PLOG_CLASS_PATH."class/locale/locale.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/Date.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/htmlcalendar.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/locale/locale.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
/**
* \ingroup Data
Modified: plog/trunk/class/data/textfilter.class.php
===================================================================
--- plog/trunk/class/data/textfilter.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/textfilter.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -8,7 +8,7 @@
*/
- include_once( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
/**
* default character used as the word separator, instead of blank spaces
@@ -39,7 +39,7 @@
{
$this->removeJavaScript = $removeJavaScript;
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$this->htmlAllowedTags = $config->getValue( "html_allowed_tags_in_comments" );
$this->_smileys = $config->getValue( "smileys" );
@@ -252,7 +252,7 @@
*/
function normalizeText( $text )
{
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php" ); // because of the POST_EXTENDED_TEXT_MODIFIER constant
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php" ); // because of the POST_EXTENDED_TEXT_MODIFIER constant
// remove all html code
$result = TextFilter::filterAllHtml( $text );
// remove the "extended post modifier"
@@ -405,7 +405,7 @@
// replace some characters to similar ones
$search = array(' ', 'ä', 'ö', 'ü','é','è','à','ç', 'à', 'è', 'ì',
'ò', 'ù', 'á', 'é', 'í', 'ó', 'ú', 'ë', 'ï' );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$separator = $config->getValue( "urlize_word_separator", URLIZE_WORD_SEPARATOR_DEFAULT );
@@ -480,10 +480,10 @@
function xhtmlize( $string )
{
// use kses in the "xhtml converter" mode
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
if( $config->getValue( "xhtml_converter_enabled" )) {
- include_once( PLOG_CLASS_PATH."class/data/kses.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/kses.class.php" );
$kses = new kses( true, $config->getValue( "xhtml_converter_aggresive_mode_enabled"));
$result = $kses->Parse( $string );
@@ -506,8 +506,8 @@
* @return the xhtml-ized string
*/
function slugify( $string ){
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH.'class/net/linkparser.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/net/linkparser.class.php' );
$config =& Config::getConfig();
$separator = $config->getValue( "urlize_word_separator", URLIZE_WORD_SEPARATOR_DEFAULT );
Modified: plog/trunk/class/data/timestamp.class.php
===================================================================
--- plog/trunk/class/data/timestamp.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/timestamp.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/Date.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/Date.class.php" );
/**
* constants used to determine whether we are using dynamic time
@@ -323,7 +323,7 @@
$timeDifference = $blogSettings->getValue( "time_offset" );
}
else {
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogInfo = $blogs->getBlogInfoById( $blog );
if( !$blogInfo )
Modified: plog/trunk/class/data/validator/arrayvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/arrayvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/arrayvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/arrayrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/arrayrule.class.php" );
/**
* \ingroup Validator
Modified: plog/trunk/class/data/validator/chainedvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/chainedvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/chainedvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
/**
* \ingroup Validator
Modified: plog/trunk/class/data/validator/domainvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/domainvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/domainvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/filteredwordsrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/filteredwordsrule.class.php" );
/**
* \ingroup Validator
Modified: plog/trunk/class/data/validator/emailvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/emailvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/emailvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/emailformatrule.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/emaildnsrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/emailformatrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/emaildnsrule.class.php" );
/**
* \ingroup Validator
Modified: plog/trunk/class/data/validator/emptyvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/emptyvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/emptyvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
/**
* \ingroup Validator
Modified: plog/trunk/class/data/validator/httpurlvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/httpurlvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/httpurlvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
/**
* \ingroup Validator
Modified: plog/trunk/class/data/validator/integervalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/integervalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/integervalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
/**
* \ingroup Validator
@@ -22,11 +22,11 @@
$this->Validator();
if( $signed ) {
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/intrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/intrule.class.php" );
$this->addRule( new IntRule());
}
else {
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/uintrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/uintrule.class.php" );
$this->addRule( new UIntRule());
}
}
Modified: plog/trunk/class/data/validator/ipmatchvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/ipmatchvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/ipmatchvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
/**
* \ingroup Validator
Modified: plog/trunk/class/data/validator/passwordvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/passwordvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/passwordvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/stringrangerule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/stringrangerule.class.php" );
define( "MIN_PASSWORD_LENGTH_DEFAULT", 6 );
Modified: plog/trunk/class/data/validator/rules/arrayrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/arrayrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/arrayrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
/**
* \ingroup Validator_Rules
Modified: plog/trunk/class/data/validator/rules/emaildnsrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/emaildnsrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/emaildnsrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
- include_once(PLOG_CLASS_PATH."class/net/dns.class.php");
- include_once(PLOG_CLASS_PATH."class/net/http/httpvars.class.php");
- include_once(PLOG_CLASS_PATH."class/config/config.class.php");
- include_once(PLOG_CLASS_PATH."class/data/textfilter.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/net/dns.class.php");
+ lt_include(PLOG_CLASS_PATH."class/net/http/httpvars.class.php");
+ lt_include(PLOG_CLASS_PATH."class/config/config.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/textfilter.class.php");
define( "ERROR_RULE_EMAIL_DNS_SERVER_UNREACHABLE", "error_rule_email_dns_server_unreachable");
define( "ERROR_RULE_EMAIL_DNS_SERVER_TEMP_FAIL", "error_rule_email_dns_server_temp_fail");
Modified: plog/trunk/class/data/validator/rules/emailformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/emailformatrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/emailformatrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
define( "ERROR_RULE_EMAIL_FORMAT_WRONG", "error_rule_email_format_wrong");
Modified: plog/trunk/class/data/validator/rules/equalrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/equalrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/equalrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
define( "DEFAULT_RULE_CASE_SENSITIVE", true);
define( "ERROR_RULE_VALUES_NOT_EQUAL", "error_rule_values_not_equal");
Modified: plog/trunk/class/data/validator/rules/filteredpatternsrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/filteredpatternsrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/filteredpatternsrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
define( "DEFAULT_PATTERN_CASE_SENSITIVE", true);
Modified: plog/trunk/class/data/validator/rules/filteredwordsrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/filteredwordsrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/filteredwordsrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
/**
* \ingroup Validator_Rules
Modified: plog/trunk/class/data/validator/rules/intrangerule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/intrangerule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/intrangerule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
define( "ERROR_RULE_INTEGER_TOO_SMALL", "error_rule_integer_too_small");
define( "ERROR_RULE_INTEGER_TOO_LARGE", "error_rule_integer_too_large");
Modified: plog/trunk/class/data/validator/rules/intrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/intrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/intrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
define( "INT_RULE_REG_EXP", "^([+-]?[1-9][0-9]*)|0$");
define( "ERROR_RULE_INT_FORMAT_WRONG", "error_rule_int_format_wrong");
Modified: plog/trunk/class/data/validator/rules/ipcidrformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/ipcidrformatrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/ipcidrformatrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
define( "IP_CIDR_FORMAT_RULE_REG_EXP", "^([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})/([0-9]{1,2})$");
define( "ERROR_RULE_IP_CIDR_FORMAT_WRONG", "error_rule_ip_cidr_format_wrong");
Modified: plog/trunk/class/data/validator/rules/ipformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/ipformatrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/ipformatrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
define( "IP_FORMAT_RULE_REG_EXP", "^([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})$");
define( "ERROR_RULE_IP_FORMAT_WRONG", "error_rule_ip_format_wrong");
Modified: plog/trunk/class/data/validator/rules/iprangerule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/iprangerule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/iprangerule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
define( "ERROR_RULE_IP_NOT_IN_RANGE", "error_rule_ip_not_in_range");
Modified: plog/trunk/class/data/validator/rules/nonemptyrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/nonemptyrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/nonemptyrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
define( "ERROR_RULE_VALUE_IS_EMPTY", "error_rule_value_is_empty");
Modified: plog/trunk/class/data/validator/rules/numericrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/numericrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/numericrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
define( "NUMERIC_RULE_REG_EXP", "^[0-9]+$");
define( "ERROR_RULE_NUMERIC_FORMAT_WRONG", "error_rule_numeric_format_wrong");
Modified: plog/trunk/class/data/validator/rules/regexprule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/regexprule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/regexprule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
define( "DEFAULT_RULE_CASE_SENSITIVE", true);
define( "ERROR_RULE_REGEXP_NOT_MATCH", "error_rule_regexp_not_match");
Modified: plog/trunk/class/data/validator/rules/rule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/rule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/rule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validation.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validation.class.php");
/**
* \defgroup Validator_Rules
Modified: plog/trunk/class/data/validator/rules/stringrangerule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/stringrangerule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/stringrangerule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
define( "ERROR_RULE_STRING_TOO_SMALL", "error_rule_string_too_small");
define( "ERROR_RULE_STRING_TOO_LARGE", "error_rule_string_too_large");
Modified: plog/trunk/class/data/validator/rules/uintrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/uintrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/uintrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
define( "UINT_RULE_REG_EXP", "^([0-9]+)$");
define( "ERROR_RULE_UINT_FORMAT_WRONG", "error_rule_uint_format_wrong");
Modified: plog/trunk/class/data/validator/rules/urlformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/urlformatrule.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/rules/urlformatrule.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
- include_once(PLOG_CLASS_PATH."class/net/dns.class.php");
- include_once(PLOG_CLASS_PATH."class/net/http/httpvars.class.php");
+ lt_include(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+ lt_include(PLOG_CLASS_PATH."class/net/dns.class.php");
+ lt_include(PLOG_CLASS_PATH."class/net/http/httpvars.class.php");
/**
* \ingroup Validator_Rules
Modified: plog/trunk/class/data/validator/stringvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/stringvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/stringvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
/**
* \ingroup Validator
Modified: plog/trunk/class/data/validator/templatenamevalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/templatenamevalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/templatenamevalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
define( "VALID_REGEXP_CHARS", "^([a-z0-9._-]+)$");
Modified: plog/trunk/class/data/validator/templatesetvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/templatesetvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/templatesetvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/data/validator/validator.class.php' );
- include_once( PLOG_CLASS_PATH.'class/file/file.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/validator/validator.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/file/file.class.php' );
define( 'ERROR_TEMPLATE_NOT_INSIDE_FOLDER', -1 );
define( 'ERROR_MISSING_BASE_FILES', -2 );
Modified: plog/trunk/class/data/validator/uploadvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/uploadvalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/uploadvalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/misc/glob.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/glob.class.php" );
define( "UPLOAD_MAX_SIZE", 2000000 );
Modified: plog/trunk/class/data/validator/usernamevalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/usernamevalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/usernamevalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/stringrangerule.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/filteredpatternsrule.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/stringrangerule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/filteredpatternsrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
define( "ONLY_ALPHANUMERIC_REGEXP", "^([A-Za-z0-9]*)$" );
Modified: plog/trunk/class/data/validator/validator.class.php
===================================================================
--- plog/trunk/class/data/validator/validator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/data/validator/validator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -43,7 +43,7 @@
* </pre>
*/
- include_once( PLOG_CLASS_PATH."class/data/validator/validation.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validation.class.php" );
/**
* \ingroup Validator
Modified: plog/trunk/class/database/db.class.php
===================================================================
--- plog/trunk/class/database/db.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/database/db.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -21,8 +21,8 @@
* connection so there is no need to initialize a new one.</p>
*/
- include_once( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
- include_once( PLOG_CLASS_PATH."class/database/pdb/pdb.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/pdb/pdb.class.php" );
/**
* \ingroup Database
Modified: plog/trunk/class/database/pdb/datadict/pdbmysqldatadict.class.php
===================================================================
--- plog/trunk/class/database/pdb/datadict/pdbmysqldatadict.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/database/pdb/datadict/pdbmysqldatadict.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -7,7 +7,7 @@
the BSD license will take precedence.
*/
- include_once( PLOG_CLASS_PATH."class/database/pdb/datadict/pdbbasedatadict.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/pdb/datadict/pdbbasedatadict.class.php" );
/**
* Data dictionary for MySQL, used by PDb to be able to convert a table meta-definition
Modified: plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php
===================================================================
--- plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/database/pdb/drivers/pdbdriverbase.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -297,7 +297,7 @@
//print( "Loading datadict driver $dataDictPath...<br/>" );
- include_once( $dataDictPath );
+ lt_include( $dataDictPath );
$className = "PDb{$driverName}DataDict";
$class =& new $className();
@@ -389,7 +389,7 @@
*/
function &MetaColumns($table)
{
- include_once( PLOG_CLASS_PATH."class/database/pdb/datadict/pdbfielddescobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/pdb/datadict/pdbfielddescobject.class.php" );
$rs = $this->Execute(sprintf("SHOW COLUMNS FROM %s",$table));
Modified: plog/trunk/class/database/pdb/drivers/pdbmysqldriver.class.php
===================================================================
--- plog/trunk/class/database/pdb/drivers/pdbmysqldriver.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/database/pdb/drivers/pdbmysqldriver.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbdriverbase.class.php" );
- include_once( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbmysqlrecordset.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbdriverbase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbmysqlrecordset.class.php" );
/**
* \ingroup PDb
*
Modified: plog/trunk/class/database/pdb/drivers/pdbmysqlrecordset.class.php
===================================================================
--- plog/trunk/class/database/pdb/drivers/pdbmysqlrecordset.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/database/pdb/drivers/pdbmysqlrecordset.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbrecordset.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbrecordset.class.php" );
/**
* \ingroup PDb
Modified: plog/trunk/class/database/pdb/pdb.class.php
===================================================================
--- plog/trunk/class/database/pdb/pdb.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/database/pdb/pdb.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -48,7 +48,7 @@
if( array_key_exists($driver, $validDrivers) ) {
// load the driver class
$driverPath = PDB_DRIVER_FOLDER.strtolower( $validDrivers[$driver] ).".class.php";
- include_once( $driverPath );
+ lt_include( $driverPath );
// create an instance of it
$driverClass = new $validDrivers[$driver]();
Modified: plog/trunk/class/file/file.class.php
===================================================================
--- plog/trunk/class/file/file.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/file/file.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -10,7 +10,7 @@
- include_once( PLOG_CLASS_PATH."class/misc/glob.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/glob.class.php" );
define( "FILE_DEFAULT_DIRECTORY_CREATION_MODE", 0700 );
Modified: plog/trunk/class/file/fileproperties.class.php
===================================================================
--- plog/trunk/class/file/fileproperties.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/file/fileproperties.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/properties.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/properties.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
/**
* \ingroup File
Modified: plog/trunk/class/file/fileuploads.class.php
===================================================================
--- plog/trunk/class/file/fileuploads.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/file/fileuploads.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
define( "FILE_UPLOADS_NOT_ENABLED", -200 );
Modified: plog/trunk/class/file/finder/filefinder.class.php
===================================================================
--- plog/trunk/class/file/finder/filefinder.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/file/finder/filefinder.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -50,7 +50,7 @@
*/
function find( $currentList, $fileName = '*' )
{
- include_once( PLOG_CLASS_PATH.'class/misc/glob.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/misc/glob.class.php' );
$files = Glob::myGlob( $this->_folder, $fileName );
// create an empty array if we got something else other than an array so that
Modified: plog/trunk/class/file/unpacker/rarunpacker.class.php
===================================================================
--- plog/trunk/class/file/unpacker/rarunpacker.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/file/unpacker/rarunpacker.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
/**
* \ingroup File_Unpacker
Modified: plog/trunk/class/file/unpacker/tarbz2unpacker.class.php
===================================================================
--- plog/trunk/class/file/unpacker/tarbz2unpacker.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/file/unpacker/tarbz2unpacker.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* \ingroup File_Unpacker
Modified: plog/trunk/class/file/unpacker/targzunpacker.class.php
===================================================================
--- plog/trunk/class/file/unpacker/targzunpacker.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/file/unpacker/targzunpacker.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* \ingroup File_Unpacker
Modified: plog/trunk/class/file/unpacker/unpacker.class.php
===================================================================
--- plog/trunk/class/file/unpacker/unpacker.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/file/unpacker/unpacker.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -11,11 +11,11 @@
*/
- include_once( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/unpacker/targzunpacker.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/unpacker/zipunpacker.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/unpacker/tarbz2unpacker.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/unpacker/rarunpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/targzunpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/zipunpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/tarbz2unpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/rarunpacker.class.php" );
define( "UNPACKER_AUTODETECT", "detect" );
define( "UNPACKER_TAR_GZ", "tar.gz" );
Modified: plog/trunk/class/file/unpacker/zipunpacker.class.php
===================================================================
--- plog/trunk/class/file/unpacker/zipunpacker.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/file/unpacker/zipunpacker.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/unpacker/pclzip.lib.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/baseunpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/pclzip.lib.php" );
/**
* \ingroup File_Unpacker
Modified: plog/trunk/class/gallery/dao/galleryalbum.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryalbum.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/dao/galleryalbum.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
/**
* \ingroup Gallery
@@ -165,7 +165,7 @@
function getParent()
{
if( $this->_parent == null ) {
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
$albums = new GalleryAlbums();
$this->_parent = $albums->getAlbum( $this->getParentId(), $this->getOwnerId());
}
@@ -195,7 +195,7 @@
*/
function getTimestamp()
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
return new Timestamp($this->_date);
}
@@ -385,7 +385,7 @@
function getMangledName()
{
if( $this->_mangledName == "" ) {
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_mangledName = Textfilter::urlize( $this->getName());
}
@@ -405,7 +405,7 @@
function getNormalizedName()
{
if( $this->_normalizedName == "" ) {
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_normalizedName = Textfilter::normalizeText( $this->getName());
}
@@ -430,7 +430,7 @@
function getNormalizedDescription()
{
if( $this->_normalizedDescription == "" ) {
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$this->_normalizedDescription = Textfilter::normalizeText( $this->getDescription());
}
Modified: plog/trunk/class/gallery/dao/galleryalbums.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryalbums.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/dao/galleryalbums.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbum.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
- include_once( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbum.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
/**
* \ingroup Gallery
Modified: plog/trunk/class/gallery/dao/galleryitemslist.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryitemslist.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/dao/galleryitemslist.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
/**
* obtains combined lists of albums and resources, so that it can be properly
Modified: plog/trunk/class/gallery/dao/galleryresource.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryresource.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/dao/galleryresource.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/galleryconstants.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/galleryconstants.php" );
// Add this to avoid long file name error in windows server
define('GETID3_HELPERAPPSDIR', 'no_helper_apps_needed');
@@ -116,7 +116,7 @@
*/
function getBlogInfo()
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogInfo = $blogs->getBlogInfo( $this->_ownerId );
return $blogInfo;
@@ -145,7 +145,7 @@
function getTimestamp()
{
// source necessary source
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
return new Timestamp($this->_date);
}
@@ -211,7 +211,7 @@
*/
function getMimeType()
{
- include_once( PLOG_CLASS_PATH."class/data/mimetype.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/mimetype.class.php" );
$mimeType = new MimeType();
return $mimeType->getType( $this->_fileName );
@@ -224,7 +224,7 @@
*/
function getThumbnailMimeType()
{
- include_once( PLOG_CLASS_PATH."class/data/mimetype.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/mimetype.class.php" );
if( $this->getThumbnailFormat() == "same" )
return $this->getMimeType();
else {
@@ -245,7 +245,7 @@
*/
function getData()
{
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
$fileParts = explode( ".", $this->getFileName());
$fileExt = $fileParts[count($fileParts)-1];
@@ -284,7 +284,7 @@
function getDataChunk($chunksize)
{
if (!$this->_fileDescriptor) {
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
$fileParts = explode(".",$this->getFileName());
$fileExt = $fileParts[count($fileParts)-1];
$resourceStorageFolder = GalleryResourceStorage::getResourcesStorageFolder();
@@ -324,7 +324,7 @@
function getAlbum()
{
if( $this->_album == null ) {
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
$albums = new GalleryAlbums();
$this->_album = $albums->getAlbum( $this->getAlbumId());
}
@@ -383,10 +383,10 @@
*/
function getMetadataReader()
{
- include_once( PLOG_CLASS_PATH."class/gallery/data/galleryresourceimagemetadatareader.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/data/galleryresourcesoundmetadatareader.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/data/galleryresourcevideometadatareader.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/data/galleryresourcezipmetadatareader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/data/galleryresourceimagemetadatareader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/data/galleryresourcesoundmetadatareader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/data/galleryresourcevideometadatareader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/data/galleryresourcezipmetadatareader.class.php" );
switch( $this->getResourceType()) {
case GALLERY_RESOURCE_IMAGE:
@@ -427,7 +427,7 @@
*/
function getPreviewFileName()
{
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
if( $this->getThumbnailFormat() == THUMBNAIL_OUTPUT_FORMAT_SAME_AS_IMAGE ) {
$fileParts = explode( ".", $this->getFileName());
@@ -467,7 +467,7 @@
*/
function getMediumSizePreviewFileName()
{
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
if( $this->getThumbnailFormat() == THUMBNAIL_OUTPUT_FORMAT_SAME_AS_IMAGE ) {
$fileParts = explode( ".", $this->getFileName());
@@ -530,7 +530,7 @@
function getNormalizedDescription()
{
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$tf = new Textfilter();
return( $tf->normalizeText( $this->getDescription()));
}
Modified: plog/trunk/class/gallery/dao/galleryresourcequotas.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryresourcequotas.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/dao/galleryresourcequotas.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -20,7 +20,7 @@
*/
function getGlobalResourceQuota()
{
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$quota = $config->getValue( "resources_quota", GLOBAL_QUOTA_DEFAULT );
@@ -73,7 +73,7 @@
function isBlogOverResourceQuota( $blogId, $fileSize )
{
// current allocated quota
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blog = $blogs->getBlogInfo( $blogId );
if( !$blog )
Modified: plog/trunk/class/gallery/dao/galleryresources.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryresources.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/dao/galleryresources.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -12,10 +12,10 @@
* via the getID3 library.
*/
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/galleryconstants.php" );
- include_once( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/galleryconstants.php" );
+ lt_include( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
/**
* \ingroup Gallery
@@ -298,11 +298,11 @@
$fileSize = $metadata["filesize"];
$serMetadata = Db::qstr( serialize($metadata));
// get the correct thumbnail format
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$thumbnailFormat = $config->getValue( "thumbnail_format" );
// prepare some other stuff
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$tf = new Textfilter();
$normalizedDescription = $tf->normalizeText( $description );
$properties = serialize( array() );
@@ -340,7 +340,7 @@
}
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
$albums = new GalleryAlbums();
$album = $albums->getAlbum( $albumId );
$album->setNumResources( $album->getNumResources() + 1 );
@@ -408,7 +408,7 @@
{
// check if quotas are enabled, and if this file would make us go
// over the quota
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcequotas.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcequotas.class.php" );
if( GalleryResourceQuotas::isBlogOverResourceQuota( $ownerId, $upload->getSize())) {
return GALLERY_ERROR_QUOTA_EXCEEDED;
}
@@ -419,14 +419,14 @@
// or
// UPLOAD_VALIDATOR_ERROR_FORBIDDEN_EXTENSION (-2)
// in case the file is not valid.
- include_once( PLOG_CLASS_PATH."class/data/validator/uploadvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/uploadvalidator.class.php" );
$uploadValidator = new UploadValidator();
$error = $uploadValidator->validate( $upload );
if( $error < 0 )
return $error;
// get the metadata
- include_once( PLOG_CLASS_PATH."class/gallery/getid3/getid3.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/getid3/getid3.php" );
$getId3 = new GetID3();
$metadata = $getId3->analyze( $upload->getTmpName());
// nifty helper method from the getid3 package
@@ -450,7 +450,7 @@
// and finally move the file to the right place in disk
// move the file to disk
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
$storage = new GalleryResourceStorage();
$resFile = $storage->storeUpload( $resourceId, $ownerId, $upload );
@@ -467,9 +467,9 @@
// and finally, we can generate the thumbnail only if the file is an image, of course :)
if( $resourceType == GALLERY_RESOURCE_IMAGE ) {
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/gallerythumbnailgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/gallerythumbnailgenerator.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$imgWidth = $info["video"]["resolution_x"];
@@ -609,7 +609,7 @@
{
// check if quotas are enabled, and if this file would make us go
// over the quota
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcequotas.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcequotas.class.php" );
if( GalleryResourceQuotas::isBlogOverResourceQuota( $ownerId, File::getSize( $fullFilePath ))) {
return GALLERY_ERROR_QUOTA_EXCEEDED;
}
@@ -618,7 +618,7 @@
$filePath = dirname( $fullFilePath );
// get the metadata
- include_once( PLOG_CLASS_PATH."class/gallery/getid3/getid3.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/getid3/getid3.php" );
$getId3 = new GetID3();
$metadata = $getId3->analyze( $fullFilePath );
// nifty helper method from the getid3 package
@@ -640,7 +640,7 @@
// and finally move the file to the right place in disk
// move the file to disk
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
$storage = new GalleryResourceStorage();
$resFile = $storage->storeFile( $resourceId,
$ownerId,
@@ -662,11 +662,11 @@
// and finally, we can generate the thumbnail only if the file is an image, of course :)
if( $resourceType == GALLERY_RESOURCE_IMAGE ) {
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/gallerythumbnailgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/gallerythumbnailgenerator.class.php" );
GalleryThumbnailGenerator::generateResourceThumbnail( $resFile, $resourceId, $ownerId );
GalleryThumbnailGenerator::generateResourceMediumSizeThumbnail( $resFile, $resourceId, $ownerId );
// call this method only if the settings are right
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$previewHeight = $config->getValue( "final_size_thumbnail_height", 0 );
$previewWidth = $config->getValue( "final_size_thumbnail_width", 0 );
@@ -769,13 +769,13 @@
$this->_cache->removeData( $resource->getOwnerId(), CACHE_RESOURCES_USER );
$this->_cache->removeData( $resource->getFileName(), CACHE_RESOURCES_BY_NAME );
// update the counters
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
$albums = new GalleryAlbums();
$album = $resource->getAlbum();
$album->setNumResources( $album->getNumResources() - 1 );
$albums->updateAlbum( $album );
// proceed and remove the file from disk
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
$storage = new GalleryResourceStorage();
return $storage->remove( $resource );
}
Modified: plog/trunk/class/gallery/dao/galleryresourcestorage.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryresourcestorage.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/dao/galleryresourcestorage.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/fileuploads.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/galleryconstants.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/fileuploads.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/galleryconstants.php" );
define( "RESOURCE_STORAGE_STORE_COPY", 1 );
define( "RESOURCE_STORAGE_STORE_MOVE", 2 );
Modified: plog/trunk/class/gallery/data/galleryresourcebasemetadatareader.class.php
===================================================================
--- plog/trunk/class/gallery/data/galleryresourcebasemetadatareader.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/data/galleryresourcebasemetadatareader.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
/**
* \ingroup Gallery
Modified: plog/trunk/class/gallery/data/galleryresourceimagemetadatareader.class.php
===================================================================
--- plog/trunk/class/gallery/data/galleryresourceimagemetadatareader.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/data/galleryresourceimagemetadatareader.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/gallery/data/galleryresourcebasemetadatareader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/data/galleryresourcebasemetadatareader.class.php" );
/**
* \ingroup Gallery
Modified: plog/trunk/class/gallery/data/galleryresourcesoundmetadatareader.class.php
===================================================================
--- plog/trunk/class/gallery/data/galleryresourcesoundmetadatareader.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/data/galleryresourcesoundmetadatareader.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/gallery/data/galleryresourcebasemetadatareader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/data/galleryresourcebasemetadatareader.class.php" );
/**
* \ingroup Gallery
Modified: plog/trunk/class/gallery/data/galleryresourcevideometadatareader.class.php
===================================================================
--- plog/trunk/class/gallery/data/galleryresourcevideometadatareader.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/data/galleryresourcevideometadatareader.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/gallery/data/galleryresourcebasemetadatareader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/data/galleryresourcebasemetadatareader.class.php" );
/**
* methods for fetching metadata from video resources
Modified: plog/trunk/class/gallery/data/galleryresourcezipmetadatareader.class.php
===================================================================
--- plog/trunk/class/gallery/data/galleryresourcezipmetadatareader.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/data/galleryresourcezipmetadatareader.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/gallery/data/galleryresourcebasemetadatareader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/data/galleryresourcebasemetadatareader.class.php" );
/**
* \ingroup Gallery
Modified: plog/trunk/class/gallery/getid3/getid3.lib.php
===================================================================
--- plog/trunk/class/gallery/getid3/getid3.lib.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/getid3/getid3.lib.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1302,7 +1302,7 @@
global $GETID3_ERRORARRAY;
if (file_exists($filename)) {
- if (@include_once($filename)) {
+ if (@lt_include($filename)) {
return true;
} else {
$diemessage = basename($sourcefile).' depends on '.$filename.', which has errors';
Modified: plog/trunk/class/gallery/getid3/getid3.php
===================================================================
--- plog/trunk/class/gallery/getid3/getid3.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/getid3/getid3.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -98,7 +98,7 @@
}
// Load support library
- if (!include_once(GETID3_INCLUDEPATH.'getid3.lib.php')) {
+ if (!lt_include(GETID3_INCLUDEPATH.'getid3.lib.php')) {
$this->startup_error .= 'getid3.lib.php is missing or corrupt';
}
@@ -273,7 +273,7 @@
// handle ID3v1 tag
if ($this->option_tag_id3v1) {
- if (!@include_once(GETID3_INCLUDEPATH.'module.tag.id3v1.php')) {
+ if (!@lt_include(GETID3_INCLUDEPATH.'module.tag.id3v1.php')) {
return $this->error('module.tag.id3v1.php is missing - you may disable option_tag_id3v1.');
}
$tag = new getid3_id3v1($fp, $this->info);
@@ -281,7 +281,7 @@
// handle APE tag
if ($this->option_tag_apetag) {
- if (!@include_once(GETID3_INCLUDEPATH.'module.tag.apetag.php')) {
+ if (!@lt_include(GETID3_INCLUDEPATH.'module.tag.apetag.php')) {
return $this->error('module.tag.apetag.php is missing - you may disable option_tag_apetag.');
}
$tag = new getid3_apetag($fp, $this->info);
@@ -289,7 +289,7 @@
// handle lyrics3 tag
if ($this->option_tag_lyrics3) {
- if (!@include_once(GETID3_INCLUDEPATH.'module.tag.lyrics3.php')) {
+ if (!@lt_include(GETID3_INCLUDEPATH.'module.tag.lyrics3.php')) {
return $this->error('module.tag.lyrics3.php is missing - you may disable option_tag_lyrics3.');
}
$tag = new getid3_lyrics3($fp, $this->info);
@@ -343,7 +343,7 @@
}
// include module
- include_once(GETID3_INCLUDEPATH.$determined_format['include']);
+ lt_include(GETID3_INCLUDEPATH.$determined_format['include']);
// instantiate module class
$class_name = 'getid3_'.$determined_format['module'];
Modified: plog/trunk/class/gallery/getid3/module.archive.gzip.php
===================================================================
--- plog/trunk/class/gallery/getid3/module.archive.gzip.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/getid3/module.archive.gzip.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -197,7 +197,7 @@
switch (@$determined_format['module']) {
case 'tar':
// view TAR-file info
- if (file_exists(GETID3_INCLUDEPATH.$determined_format['include']) && @include_once(GETID3_INCLUDEPATH.$determined_format['include'])) {
+ if (file_exists(GETID3_INCLUDEPATH.$determined_format['include']) && @lt_include(GETID3_INCLUDEPATH.$determined_format['include'])) {
getid3_tar::read_tar($inflated, $ThisFileInfo['gzip']['member_header'][$idx]);
}
break;
Modified: plog/trunk/class/gallery/getid3/write.php
===================================================================
--- plog/trunk/class/gallery/getid3/write.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/getid3/write.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -22,7 +22,7 @@
if (!defined('GETID3_INCLUDEPATH')) {
die('getid3.php MUST be included before calling getid3_writetags');
}
-if (!include_once(GETID3_INCLUDEPATH.'getid3.lib.php')) {
+if (!lt_include(GETID3_INCLUDEPATH.'getid3.lib.php')) {
die('write.php depends on getid3.lib.php, which is missing.');
}
Modified: plog/trunk/class/gallery/resizers/gallerygdresizer.class.php
===================================================================
--- plog/trunk/class/gallery/resizers/gallerygdresizer.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/resizers/gallerygdresizer.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/galleryabstractresizer.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/gddetector.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/galleryabstractresizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/gddetector.class.php" );
define( "GD_RESIZER_NO_SMOOTHING_MODE", 0 );
define( "GD_RESIZER_PHP_IMAGECOPYRESAMPLED", 1 );
Modified: plog/trunk/class/gallery/resizers/galleryimagemagickresizer.class.php
===================================================================
--- plog/trunk/class/gallery/resizers/galleryimagemagickresizer.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/resizers/galleryimagemagickresizer.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/galleryabstractresizer.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/galleryabstractresizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
define( "DEFAULT_PATH_TO_CONVERT", "/usr/bin/convert" );
Modified: plog/trunk/class/gallery/resizers/gallerynullresizer.class.php
===================================================================
--- plog/trunk/class/gallery/resizers/gallerynullresizer.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/resizers/gallerynullresizer.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/galleryabstractresizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/galleryabstractresizer.class.php" );
/**
* \ingroup Gallery_resizer
Modified: plog/trunk/class/gallery/resizers/galleryresizer.class.php
===================================================================
--- plog/trunk/class/gallery/resizers/galleryresizer.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/resizers/galleryresizer.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -19,10 +19,10 @@
* </pre>
*/
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/gallerynullresizer.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/galleryimagemagickresizer.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/gallerygdresizer.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/galleryconstants.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/gallerynullresizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/galleryimagemagickresizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/gallerygdresizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/galleryconstants.php" );
/**
* \ingroup Gallery_resizer
Modified: plog/trunk/class/gallery/resizers/gallerythumbnailgenerator.class.php
===================================================================
--- plog/trunk/class/gallery/resizers/gallerythumbnailgenerator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/resizers/gallerythumbnailgenerator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -19,7 +19,7 @@
{
// get some configuration settings regarding the size of the
// thumbnails, and also the default format for thumbnails
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$previewKeepAspectRatio = $config->getValue( "thumbnails_keep_aspect_ratio" );
@@ -29,9 +29,9 @@
$fileName = $ownerId."-".$resourceId.".".$fileExt;
// and start the resizing process
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/galleryresizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/galleryresizer.class.php" );
$resizer = new GalleryResizer( $resFile );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
GalleryResourceStorage::checkPreviewsStorageFolder( $ownerId );
$outFile = GalleryResourceStorage::getPreviewsFolder( $ownerId ).$fileName;
@@ -57,7 +57,7 @@
{
// get some configuration settings regarding the size of the
// thumbnails, and also the default format for thumbnails
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$previewKeepAspectRatio = $config->getValue( "thumbnails_keep_aspect_ratio" );
@@ -67,9 +67,9 @@
$fileName = $ownerId."-".$resourceId.".".$fileExt;
// and start the resizing process
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/galleryresizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/galleryresizer.class.php" );
$resizer = new GalleryResizer( $resFile );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
GalleryResourceStorage::checkMediumSizePreviewsStorageFolder( $ownerId );
$outFile = GalleryResourceStorage::getMediumSizePreviewsFolder( $ownerId ).$fileName;
@@ -97,7 +97,7 @@
{
// get some configuration settings regarding the size of the
// thumbnails, and also the default format for thumbnails
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$previewKeepAspectRatio = $config->getValue( "thumbnails_keep_aspect_ratio" );
@@ -107,9 +107,9 @@
$fileName = $ownerId."-".$resourceId.".".$fileExt;
// and start the resizing process
- include_once( PLOG_CLASS_PATH."class/gallery/resizers/galleryresizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/resizers/galleryresizer.class.php" );
$resizer = new GalleryResizer( $resFile );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
GalleryResourceStorage::checkUserStorageFolder( $ownerId );
$outFile = GalleryResourceStorage::getUserFolder( $ownerId ).$fileName;
Modified: plog/trunk/class/gallery/template/gallerytemplatetools.class.php
===================================================================
--- plog/trunk/class/gallery/template/gallerytemplatetools.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/gallery/template/gallerytemplatetools.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
/**
* \ingroup Gallery
Modified: plog/trunk/class/locale/locale.class.php
===================================================================
--- plog/trunk/class/locale/locale.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/locale/locale.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -23,7 +23,7 @@
*/
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
define( "DEFAULT_LOCALE_FOLDER", PLOG_CLASS_PATH . "locale" );
@@ -508,7 +508,7 @@
else
$shortWeekday = function_exists('html_entity_decode') ? htmlentities(substr(html_entity_decode($weekday), 0, 3 )) : substr($weekday, 0, 3);
- include_once( PLOG_CLASS_PATH."class/data/Date.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/Date.class.php" );
// Get the unix time stamp
$time = $timeStamp->getTimestamp(DATE_FORMAT_UNIXTIME);
@@ -560,7 +560,7 @@
/* Start Hack By FiFtHeLeMeNt For Persian Language */
if ( $this->_code == 'fa_IR' )
{
- include_once( PLOG_CLASS_PATH."class/data/jalalicalendar.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/jalalicalendar.class.php" );
list( $jyear, $jmonth, $jday ) = JalaliCalendar::gregorian_to_jalali($timeStamp->getYear(), $timeStamp->getMonth(), $timeStamp->getDay());
$values["%q"] = JalaliCalendar::Convertnumber2farsi($jyear);
$values["%w"]= JalaliCalendar::Convertnumber2farsi($jmonth);
@@ -630,7 +630,7 @@
$timeStamp->subtractSeconds( $timeDiff * (-3600));
}
- include_once( PLOG_CLASS_PATH."class/data/Date.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/Date.class.php" );
// Get the unix time stamp
$time = $timeStamp->getTimestamp(DATE_FORMAT_UNIXTIME);
@@ -685,7 +685,7 @@
/* Start Hack By FiFtHeLeMeNt For Persian Language */
if ( $this->_code == 'fa_IR' )
{
- include_once( PLOG_CLASS_PATH."class/data/jalalicalendar.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/jalalicalendar.class.php" );
list( $jyear, $jmonth, $jday ) = JalaliCalendar::gregorian_to_jalali(gmdate( "Y", $time ), gmdate( "m", $time ), gmdate( "d", $time ));
$values["%q"] = JalaliCalendar::Convertnumber2farsi($jyear);
$values["%w"]= JalaliCalendar::Convertnumber2farsi($jmonth);
Modified: plog/trunk/class/locale/localefinder.class.php
===================================================================
--- plog/trunk/class/locale/localefinder.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/locale/localefinder.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/finder/filefinder.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/finder/filefinder.class.php" );
/**
* \ingroup Locale
Modified: plog/trunk/class/locale/locales.class.php
===================================================================
--- plog/trunk/class/locale/locales.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/locale/locales.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locale.class.php" );
- include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
- include_once( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locale.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/dao/daocacheconstants.properties.php' );
define("DEFAULT_LOCALE", "en_UK");
define( "REGEXP_VALID_LOCALE", "/.*locale_([a-z]{2}_[A-Z]{2}_?([a-zA-Z0-9\-]*)+)\.php$/" );
@@ -124,7 +124,7 @@
$locale = $_plugins_loadedLocales[$pluginLocaleKey][$localeCode];
}
else {
- include_once( PLOG_CLASS_PATH."class/locale/pluginlocale.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/pluginlocale.class.php" );
$locale = new PluginLocale( $pluginId, $localeCode );
$_plugins_loadedLocales[$pluginLocaleKey][$localeCode] = $locale;
Modified: plog/trunk/class/locale/pluginlocale.class.php
===================================================================
--- plog/trunk/class/locale/pluginlocale.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/locale/pluginlocale.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/locale/locale.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locale.class.php" );
/**
* \ingroup Locale
Modified: plog/trunk/class/logger/appender/fileappender.class.php
===================================================================
--- plog/trunk/class/logger/appender/fileappender.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/logger/appender/fileappender.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/logger/appender/appender.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/logger/appender/appender.class.php" );
/**
* \ingroup logger
Modified: plog/trunk/class/logger/appender/nullappender.class.php
===================================================================
--- plog/trunk/class/logger/appender/nullappender.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/logger/appender/nullappender.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/logger/appender/appender.class.php");
+ lt_include(PLOG_CLASS_PATH."class/logger/appender/appender.class.php");
/**
* Dummy appender that does nothing.
Modified: plog/trunk/class/logger/appender/stdoutappender.class.php
===================================================================
--- plog/trunk/class/logger/appender/stdoutappender.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/logger/appender/stdoutappender.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once(PLOG_CLASS_PATH."class/logger/appender/appender.class.php");
+ lt_include(PLOG_CLASS_PATH."class/logger/appender/appender.class.php");
/**
* StdoutAppender logs a message directly to the requesting client.
Modified: plog/trunk/class/logger/config/loggerconfigloader.class.php
===================================================================
--- plog/trunk/class/logger/config/loggerconfigloader.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/logger/config/loggerconfigloader.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -2,7 +2,7 @@
define( "LOGGER_DEFAULT_CONFIG_FILE_PATH", PLOG_CLASS_PATH."config/logging.properties.php" );
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
/**
* loads the config file of the logger. By default it uses config/logging.properties.php
Modified: plog/trunk/class/logger/layout/patternlayout.class.php
===================================================================
--- plog/trunk/class/logger/layout/patternlayout.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/logger/layout/patternlayout.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/logger/layout/layout.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/logger/layout/layout.class.php" );
/**
Modified: plog/trunk/class/logger/logger/logger.class.php
===================================================================
--- plog/trunk/class/logger/logger/logger.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/logger/logger/logger.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/logger/logger/loggedmessage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/logger/logger/loggedmessage.class.php" );
/**
* different priorities that can be used for logging
Modified: plog/trunk/class/logger/loggermanager.class.php
===================================================================
--- plog/trunk/class/logger/loggermanager.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/logger/loggermanager.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/logger/logger/logger.class.php" );
- include_once( PLOG_CLASS_PATH."class/logger/config/loggerconfigloader.class.php" );
- include_once( PLOG_CLASS_PATH."class/logger/layout/patternlayout.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/logger/logger/logger.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/logger/config/loggerconfigloader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/logger/layout/patternlayout.class.php" );
/**
* \defgroup logger
@@ -143,7 +143,7 @@
}
// if so, load the class and create an object
- include_once( $appenderClassFile );
+ lt_include( $appenderClassFile );
$appender = new $appenderClassName( $layout, $properties );
return( $appender );
Modified: plog/trunk/class/mail/emailservice.class.php
===================================================================
--- plog/trunk/class/mail/emailservice.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/mail/emailservice.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -12,9 +12,9 @@
*/
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/mail/emailmessage.class.php" );
- include_once( PLOG_CLASS_PATH."class/mail/phpmailer/class.phpmailer.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/mail/emailmessage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/mail/phpmailer/class.phpmailer.php" );
/**
* \ingroup Mail
Modified: plog/trunk/class/mail/phpmailer/class.phpmailer.php
===================================================================
--- plog/trunk/class/mail/phpmailer/class.phpmailer.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/mail/phpmailer/class.phpmailer.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -457,7 +457,7 @@
* @return bool
*/
function SmtpSend($header, $body) {
- include_once($this->PluginDir . "class.smtp.php");
+ lt_include($this->PluginDir . "class.smtp.php");
$error = "";
$bad_rcpt = array();
Modified: plog/trunk/class/misc/info.class.php
===================================================================
--- plog/trunk/class/misc/info.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/misc/info.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -50,10 +50,10 @@
*/
function logMetrics()
{
- include_once( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
- include_once( PLOG_CLASS_PATH."class/cache/cachemanager.class.php" );
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/cache/cachemanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
global $__metrics_start_time;
@@ -92,7 +92,7 @@
$requestUri."\"";
// get the logger and log the message
- $logger =& LoggerManager::getLogger( "metricslog" );
+ $logger =& LoggerManager::getLogger( "metricslog" );
$logger->debug( $message );
}
}
Modified: plog/trunk/class/misc/version.class.php
===================================================================
--- plog/trunk/class/misc/version.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/misc/version.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -22,10 +22,10 @@
*/
function getVersion()
{
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
$versionFile = PLOG_CLASS_PATH."version.php";
if( File::isReadable( $versionFile ))
- include_once( $versionFile );
+ lt_include( $versionFile );
else
$version = "UNKNOWN";
Modified: plog/trunk/class/net/baserequestgenerator.class.php
===================================================================
--- plog/trunk/class/net/baserequestgenerator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/baserequestgenerator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -11,7 +11,7 @@
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
define( "DEFAULT_SCRIPT_NAME", "index.php" );
@@ -545,7 +545,7 @@
*/
function getAtomUniqueId( $article )
{
- include_once( PLOG_CLASS_PATH."class/net/url.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/url.class.php" );
$config =& Config::getConfig();
$url = new Url($config->getValue( "base_url" ));
$articleDate = $article->getDateObject();
Modified: plog/trunk/class/net/customrequestgenerator.class.php
===================================================================
--- plog/trunk/class/net/customrequestgenerator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/customrequestgenerator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* \ingroup Net
@@ -439,7 +439,7 @@
if ( $blogId != $ownerId ) {
$blogId = $ownerId;
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs =& new Blogs();
$blogInfo = $blogs->getBlogInfo($blogId);
$blogShortName = $blogInfo->getMangledBlog();
Modified: plog/trunk/class/net/customurlhandler.class.php
===================================================================
--- plog/trunk/class/net/customurlhandler.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/customurlhandler.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -2,9 +2,9 @@
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/linkformatmatcher.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/url.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/linkformatmatcher.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/url.class.php" );
/**
* \ingroup Net
Modified: plog/trunk/class/net/dns.class.php
===================================================================
--- plog/trunk/class/net/dns.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/dns.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/misc/osdetect.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/osdetect.class.php" );
/**
* \ingroup Net
Modified: plog/trunk/class/net/http/httpcache.class.php
===================================================================
--- plog/trunk/class/net/http/httpcache.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/http/httpcache.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
-include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
//In RSS/ATOM feedMode, contains the date of the clients last update.
$clientCacheDate=0; //Global public variable because PHP4 does not allow conditional arguments by reference
Modified: plog/trunk/class/net/http/session/sessioninfo.class.php
===================================================================
--- plog/trunk/class/net/http/session/sessioninfo.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/http/session/sessioninfo.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/properties.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/properties.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* \ingroup Net_HTTP
Modified: plog/trunk/class/net/http/session/sessionmanager.class.php
===================================================================
--- plog/trunk/class/net/http/session/sessionmanager.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/http/session/sessionmanager.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/net/url.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/session/sessioninfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/url.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/session/sessioninfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$__sessionManagerInitialized = false;
Modified: plog/trunk/class/net/http/subdomains.class.php
===================================================================
--- plog/trunk/class/net/http/subdomains.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/http/subdomains.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/url.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/url.class.php" );
/**
* \ingroup Net_HTTP
@@ -20,7 +20,7 @@
*/
function getSubdomainInfoFromRequest()
{
- include_once( PLOG_CLASS_PATH."class/net/linkparser.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/linkparser.class.php" );
$config =& Config::getConfig();
$url = new Url( $config->getValue( "subdomains_base_url"));
$lp = new LinkParser( $url->getHost());
@@ -72,7 +72,7 @@
*/
function getSubdomainsEnabled()
{
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$blog_domains_enabled =
@@ -90,7 +90,7 @@
*/
function getAvailableDomains()
{
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$available_domains = $config->getValue("subdomains_available_domains", "");
@@ -126,7 +126,7 @@
// Use forbidden_usernames for domains as well, since they are related
// in that we don't want people to register www.xyz or forums.xyz
// through these subdomains either
- include_once( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
$val = new DomainValidator();
return( $val->validate( $domain ));
}
Modified: plog/trunk/class/net/linkformatmatcher.class.php
===================================================================
--- plog/trunk/class/net/linkformatmatcher.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/linkformatmatcher.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/net/linkparser.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/linkparser.class.php" );
/**
Modified: plog/trunk/class/net/modrewriterequestgenerator.class.php
===================================================================
--- plog/trunk/class/net/modrewriterequestgenerator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/modrewriterequestgenerator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
/**
* \ingroup Net
Modified: plog/trunk/class/net/prettyrequestgenerator.class.php
===================================================================
--- plog/trunk/class/net/prettyrequestgenerator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/prettyrequestgenerator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -5,7 +5,7 @@
*/
- include_once( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" );
/**
* \ingroup Net
Modified: plog/trunk/class/net/rawrequestgenerator.class.php
===================================================================
--- plog/trunk/class/net/rawrequestgenerator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/rawrequestgenerator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/baserequestgenerator.class.php" );
/**
* \ingroup Net
Modified: plog/trunk/class/net/request.class.php
===================================================================
--- plog/trunk/class/net/request.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/request.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/properties.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/properties.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
if ( !defined("CHECK_CONFIG_REQUEST_MODE") )
define( "CHECK_CONFIG_REQUEST_MODE", 0 );
Modified: plog/trunk/class/net/requestgenerator.class.php
===================================================================
--- plog/trunk/class/net/requestgenerator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/requestgenerator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
if ( !defined("CHECK_CONFIG_REQUEST_MODE") )
define( "CHECK_CONFIG_REQUEST_MODE", 0 );
@@ -73,19 +73,19 @@
// load the correct generator, while doing some nice dynamic loading...
if( $this->_mode == SEARCH_ENGINE_FRIENDLY_MODE ) {
- include_once( PLOG_CLASS_PATH."class/net/prettyrequestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/prettyrequestgenerator.class.php" );
$rg = new PrettyRequestGenerator( $blogInfo );
}
elseif( $this->_mode == MODREWRITE_MODE ) {
- include_once( PLOG_CLASS_PATH."class/net/modrewriterequestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/modrewriterequestgenerator.class.php" );
$rg = new ModRewriteRequestGenerator( $blogInfo );
}
elseif( $this->_mode == CUSTOM_REQUEST_MODE ) {
- include_once( PLOG_CLASS_PATH."class/net/customrequestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/customrequestgenerator.class.php" );
$rg = new CustomRequestGenerator( $blogInfo );
}
else {
- include_once( PLOG_CLASS_PATH."class/net/rawrequestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/rawrequestgenerator.class.php" );
$rg = new RawRequestGenerator( $blogInfo );
}
Modified: plog/trunk/class/net/xmlrpc/xmlrpcserver.class.php
===================================================================
--- plog/trunk/class/net/xmlrpc/xmlrpcserver.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/xmlrpc/xmlrpcserver.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,18 +1,18 @@
<?php
- include_once( PLOG_CLASS_PATH."class/net/xmlrpc/IXR_Library.lib.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php");
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php");
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php");
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php");
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
- include_once( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/xmlrpc/IXR_Library.lib.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php");
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php");
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php");
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php");
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/plugin/pluginmanager.class.php" );
class XmlRpcServer extends IXR_Server
{
@@ -404,7 +404,7 @@
-1, // categoryId
$userInfo->getId());
$dateObject = $item->getDateObject();
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
// Get the unix time stamp
$time = $dateObject->getTimestamp(DATE_FORMAT_UNIXTIME);
@@ -439,7 +439,7 @@
if ($auth)
{
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$userInfo = $users->getUserInfoFromUsername( $username );
@@ -752,7 +752,7 @@
foreach($list as $item)
{
$dateObject = $item->getDateObject();
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
// Get the unix time stamp
$time = $dateObject->getTimestamp(DATE_FORMAT_UNIXTIME);
@@ -800,7 +800,7 @@
foreach($list as $item)
{
$dateObject = $item->getDateObject();
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
// Get the unix time stamp
$time = $dateObject->getTimestamp(DATE_FORMAT_UNIXTIME);
Modified: plog/trunk/class/net/xmlrpcclient.class.php
===================================================================
--- plog/trunk/class/net/xmlrpcclient.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/net/xmlrpcclient.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/net/xmlrpc/IXR_Library.lib.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/xmlrpc/IXR_Library.lib.php" );
/**
* \ingroup Net
Modified: plog/trunk/class/object/loggable.class.php
===================================================================
--- plog/trunk/class/object/loggable.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/object/loggable.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -19,7 +19,7 @@
*/
function Loggable()
{
- include_once( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
// initialize logging -- enable this only for debugging purposes
$this->log =& LoggerManager::getLogger( "default" );
Modified: plog/trunk/class/object/object.class.php
===================================================================
--- plog/trunk/class/object/object.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/object/object.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
if(PHP_VERSION < 5)
- include_once( PLOG_CLASS_PATH."class/object/exception.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/object/exception.class.php" );
- include_once( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
- include_once( PLOG_CLASS_PATH."debug.php" );
+ lt_include( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
+ lt_include( PLOG_CLASS_PATH."debug.php" );
/**
* \ingroup Core
Modified: plog/trunk/class/plugin/pluginbase.class.php
===================================================================
--- plog/trunk/class/plugin/pluginbase.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/plugin/pluginbase.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -178,7 +178,7 @@
*/
function registerAdminAction( $key, $actionClass )
{
- include_once( PLOG_CLASS_PATH."class/controller/admincontroller.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/controller/admincontroller.class.php" );
AdminController::registerAction( $key, $actionClass );
@@ -194,7 +194,7 @@
*/
function registerBlogAction( $key, $actionClass )
{
- include_once( PLOG_CLASS_PATH."class/controller/blogcontroller.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/controller/blogcontroller.class.php" );
BlogController::registerAction( $key, $actionClass );
@@ -210,7 +210,7 @@
*/
function registerFilter( $filterName )
{
- include_once( PLOG_CLASS_PATH."class/security/pipeline.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/security/pipeline.class.php" );
Pipeline::registerFilter( $filterName );
@@ -230,7 +230,7 @@
*/
function addMenuEntry( $path, $id, $url, $localeId = null, $blogOwner = false, $siteAdmin = false )
{
- include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
// get hold of the menu structure
$menu =& Menu::getMenu();
@@ -327,7 +327,7 @@
*/
function process( $eventType, $params )
{
- include_once( PLOG_CLASS_PATH."class/object/exception.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/object/exception.class.php" );
throw( new Exception( "Plugin ".$this->id." registered for event $eventType but did not provide its own process() method!" ));
die();
}
Modified: plog/trunk/class/plugin/pluginmanager.class.php
===================================================================
--- plog/trunk/class/plugin/pluginmanager.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/plugin/pluginmanager.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,14 +1,14 @@
<?php
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/misc/glob.class.php" );
-// include_once( PLOG_CLASS_PATH."class/controller/blogcontroller.class.php" );
-// include_once( PLOG_CLASS_PATH."class/controller/admincontroller.class.php" );
- include_once( PLOG_CLASS_PATH."class/plugin/eventlist.properties.php" );
-// include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
- include_once( PLOG_CLASS_PATH."class/controller/resourceclassloader.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/glob.class.php" );
+// lt_include( PLOG_CLASS_PATH."class/controller/blogcontroller.class.php" );
+// lt_include( PLOG_CLASS_PATH."class/controller/admincontroller.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/plugin/eventlist.properties.php" );
+// lt_include( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/controller/resourceclassloader.class.php" );
/**
* other various constants
@@ -242,7 +242,7 @@
// and try to include it
if( File::isReadable( $pluginFile."/".$pluginFileName )) {
$className = "Plugin".$plugin;
- include_once( $pluginFullPath );
+ lt_include( $pluginFullPath );
$classInstance = new $className();
$classInstance->setPluginFolder( PLOG_CLASS_PATH.$pluginFile."/" );
$name = $classInstance->getId();
Modified: plog/trunk/class/security/bayesianfilter.class.php
===================================================================
--- plog/trunk/class/security/bayesianfilter.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/security/bayesianfilter.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/security/pipelinefilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/security/pipelinefilter.class.php" );
define("HIGH_SPAM_PROBABILITY", 1000);
@@ -61,7 +61,7 @@
return $result;
}
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
// if it's a trackback, the data is in another place...
$parentId = "";
@@ -136,7 +136,7 @@
if ( !$previouslyRejected )
{
// train the filter with the message, be it spam or not...
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
BayesianFilterCore::train( $blogInfo->getId(), $commentTopic, $commentText, $userName, $userEmail,
$userUrl, $spam );
}
@@ -144,7 +144,7 @@
{
// This is a rejected message. If we think that this is non-spam,
// we want to untrain it and then retrain it as spam
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesianfiltercore.class.php" );
if ( !$spam )
{
// Un-train this non-spam
@@ -166,7 +166,7 @@
*/
function getSpamProbability($blogId, $topic, $text, $userName, $userEmail, $userUrl)
{
- include_once( PLOG_CLASS_PATH."class/bayesian/bayesiantokenizer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/bayesian/bayesiantokenizer.class.php" );
$tokenizer = new BayesianTokenizer();
@@ -188,8 +188,8 @@
*/
function _getMostSignificantTokens($blogId, $tokens)
{
- include_once( PLOG_CLASS_PATH."class/dao/bayesiantokens.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bayesianfilterinfos.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bayesiantokens.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bayesianfilterinfos.class.php" );
$config =& Config::getConfig();
Modified: plog/trunk/class/security/commentfilter.class.php
===================================================================
--- plog/trunk/class/security/commentfilter.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/security/commentfilter.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/security/pipelinefilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/security/pipelinefilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
define( "COMMENT_FILTER_MAXIMUM_SIZE_EXCEEDED", 400 );
Modified: plog/trunk/class/security/pipeline.class.php
===================================================================
--- plog/trunk/class/security/pipeline.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/security/pipeline.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -10,7 +10,7 @@
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* global array used to hold the list of filters that we're going to use in the pipeline.
@@ -86,9 +86,9 @@
*/
function _registerDefaultFilters()
{
- include_once( PLOG_CLASS_PATH."class/security/nullpipelinefilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/security/commentfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/security/bayesianfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/security/nullpipelinefilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/security/commentfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/security/bayesianfilter.class.php" );
$this->registerFilter( "NullPipelineFilter" );
$this->registerFilter( "CommentFilter" );
Modified: plog/trunk/class/summary/action/activeaccountaction.class.php
===================================================================
--- plog/trunk/class/summary/action/activeaccountaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/activeaccountaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
-include_once(PLOG_CLASS_PATH.'class/summary/action/summaryaction.class.php');
-include_once(PLOG_CLASS_PATH.'class/data/validator/stringvalidator.class.php');
-include_once(PLOG_CLASS_PATH.'class/dao/users.class.php');
-include_once(PLOG_CLASS_PATH.'class/dao/blogs.class.php');
-include_once(PLOG_CLASS_PATH.'class/summary/view/summarymessageview.class.php');
-include_once(PLOG_CLASS_PATH.'class/logger/LogUtil.php');
+lt_include(PLOG_CLASS_PATH.'class/summary/action/summaryaction.class.php');
+lt_include(PLOG_CLASS_PATH.'class/data/validator/stringvalidator.class.php');
+lt_include(PLOG_CLASS_PATH.'class/dao/users.class.php');
+lt_include(PLOG_CLASS_PATH.'class/dao/blogs.class.php');
+lt_include(PLOG_CLASS_PATH.'class/summary/view/summarymessageview.class.php');
+lt_include(PLOG_CLASS_PATH.'class/logger/LogUtil.php');
class ActiveAccountAction extends SummaryAction
{
@@ -45,12 +45,12 @@
$userInfo->setStatus(USER_STATUS_ACTIVE);
$users->updateUser($userInfo);
// also active the blog that user owned
- // FIXME: how about other blogs that this user take part in?
- $userBlogs = $userInfo->getBlogs();
- foreach( $userBlogs as $blog ) {
- if( $blog->getOwnerId() == $userInfo->getId()) {
- break;
- }
+ // FIXME: how about other blogs that this user take part in?
+ $userBlogs = $userInfo->getBlogs();
+ foreach( $userBlogs as $blog ) {
+ if( $blog->getOwnerId() == $userInfo->getId()) {
+ break;
+ }
}
$blogs = new Blogs();
$blog->setStatus(BLOG_STATUS_ACTIVE);
Modified: plog/trunk/class/summary/action/bloglistaction.class.php
===================================================================
--- plog/trunk/class/summary/action/bloglistaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/bloglistaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summarybloglistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarybloglistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* shows a list with all the blogs, pager included
Modified: plog/trunk/class/summary/action/blogprofileaction.class.php
===================================================================
--- plog/trunk/class/summary/action/blogprofileaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/blogprofileaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* by default, how many posts show as recent from this blog
@@ -42,9 +42,9 @@
return true;
}
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
// load some information about the user
$blogs = new Blogs();
Modified: plog/trunk/class/summary/action/checkusernameajaxaction.class.php
===================================================================
--- plog/trunk/class/summary/action/checkusernameajaxaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/checkusernameajaxaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryxmlview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryxmlview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
/**
* \ingroup Action
Modified: plog/trunk/class/summary/action/chooseblogtemplateaction.class.php
===================================================================
--- plog/trunk/class/summary/action/chooseblogtemplateaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/chooseblogtemplateaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
/**
Modified: plog/trunk/class/summary/action/doblogregistration.class.php
===================================================================
--- plog/trunk/class/summary/action/doblogregistration.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/doblogregistration.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,14 +1,14 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/doblogregistrationview.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/blogtemplatechooserview.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/doblogregistrationview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/blogtemplatechooserview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
/**
* registers a blog
Modified: plog/trunk/class/summary/action/dofinishregister.class.php
===================================================================
--- plog/trunk/class/summary/action/dofinishregister.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/dofinishregister.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,18 +1,18 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/mail/summarymailer.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/blogtemplatechooserview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/mail/summarymailer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/blogtemplatechooserview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
/**
* Finish the user and blog registration process.
@@ -163,7 +163,7 @@
$this->_blogInfo = $blogInfo;
// get the default global article category id
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
$globalArticleCategories = new GlobalArticleCategories();
$globalArticleCategoryId = $this->_config->getValue("default_global_article_category_id");
if( !empty( $globalArticleCategoryId ) ) {
@@ -200,8 +200,8 @@
$articles = new Articles();
$articles->addArticle( $article );
// add a new first album so that users can start uploading stuff right away
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbum.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbum.class.php" );
$t = new Timestamp();
$album = new GalleryAlbum( $this->_blogInfo->getId(), // blog id
$locale->tr( "register_default_album_name" ), // album name
@@ -215,7 +215,7 @@
$albums->addAlbum( $album );
// add a new default mylinkscategory
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
$linksCategory = new MyLinksCategory( $locale->tr("register_default_category" ), $this->_blogInfo->getId() );
$linksCategories = new MyLinksCategories();
$linksCategories->addMyLinksCategory( $linksCategory );
Modified: plog/trunk/class/summary/action/doreadagreement.class.php
===================================================================
--- plog/trunk/class/summary/action/doreadagreement.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/doreadagreement.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryusercreationview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryusercreationview.class.php" );
/**
* shows a form so that users can register
Modified: plog/trunk/class/summary/action/dousercreation.class.php
===================================================================
--- plog/trunk/class/summary/action/dousercreation.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/dousercreation.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/doblogregistrationview.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryusercreationview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/doblogregistrationview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryusercreationview.class.php" );
/**
* starts the user and blog registration process
@@ -78,7 +78,7 @@
// check if the captcha matches
if( $this->_config->getValue( "use_captcha_auth")) {
- include_once( PLOG_CLASS_PATH."class/data/captcha/captcha.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/captcha/captcha.class.php" );
$captcha = new Captcha();
if( !$captcha->validate( $this->captcha )) {
$this->_view = new SummaryUserCreationView();
Modified: plog/trunk/class/summary/action/douserregister.class.php
===================================================================
--- plog/trunk/class/summary/action/douserregister.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/douserregister.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryusercreationview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryusercreationview.class.php" );
/**
* shows a form so that users can register
Modified: plog/trunk/class/summary/action/postlistaction.class.php
===================================================================
--- plog/trunk/class/summary/action/postlistaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/postlistaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summarypostlistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarypostlistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* shows a list with all the blogs, pager included
Modified: plog/trunk/class/summary/action/registeraction.class.php
===================================================================
--- plog/trunk/class/summary/action/registeraction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/registeraction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
-include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
-include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
-include_once( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
-include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+lt_include( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
+lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* Base action that all register actions should extend
@@ -42,7 +42,7 @@
// the quickest right now!
$config =& Config::getConfig();
if( $config->getValue( "summary_disable_registration" )) {
- include_once( PLOG_CLASS_PATH."class/summary/view/summarymessageview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarymessageview.class.php" );
$this->_view = new SummaryMessageView();
$this->_view->setErrorMessage( $this->_locale->tr("error_registration_disabled"));
die($this->_view->render());
Modified: plog/trunk/class/summary/action/summaryaction.class.php
===================================================================
--- plog/trunk/class/summary/action/summaryaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summaryaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/action.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/action/action.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
define('HTTP_ACCEPT_LANGUAGE_DETECTION', 0);
Modified: plog/trunk/class/summary/action/summarycustompageaction.class.php
===================================================================
--- plog/trunk/class/summary/action/summarycustompageaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summarycustompageaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/data/validator/customsummarypagevalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/data/validator/customsummarypagevalidator.class.php" );
/**
* displays custom pages in the summary.php, in case users would like
Modified: plog/trunk/class/summary/action/summarydefaultaction.class.php
===================================================================
--- plog/trunk/class/summary/action/summarydefaultaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summarydefaultaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/dao/summarystatsconstants.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystatsconstants.class.php" );
/**
* This is the one and only default action. It simply fetches all the most recent
@@ -38,9 +38,9 @@
return true;
}
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
$blogs = new Blogs();
$stats = new SummaryStats();
Modified: plog/trunk/class/summary/action/summaryregistrationaction.class.php
===================================================================
--- plog/trunk/class/summary/action/summaryregistrationaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summaryregistrationaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
/**
* a very stupid action
@@ -9,7 +9,7 @@
{
function perform()
{
- include_once( PLOG_CLASS_PATH."register.php" );
+ lt_include( PLOG_CLASS_PATH."register.php" );
die();
}
}
Modified: plog/trunk/class/summary/action/summaryrssaction.class.php
===================================================================
--- plog/trunk/class/summary/action/summaryrssaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summaryrssaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryrssview.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/rawrequestgenerator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryrssview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/rawrequestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
define( "SUMMARY_RSS_TYPE_DEFAULT", "default" );
define( "SUMMARY_RSS_TYPE_MOST_COMMENTED", "mostcommented" );
@@ -86,8 +86,8 @@
$postslist = $stats->getMostReadArticles();
}
elseif( $this->_mode == SUMMARY_RSS_TYPE_POSTS_LIST ) {
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
// get the summary_items_per_page from config
$config =& Config::getConfig();
@@ -104,7 +104,7 @@
$summaryItemsPerPage );
}
else {
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
$categories = new GlobalArticleCategories();
$currentGlobalArticleCategory = $categories->getGlobalArticleCategory( $globalArticleCategoryId );
@@ -147,8 +147,8 @@
$blogslist = $stats->getMostActiveBlogs();
}
elseif( $this->_mode == SUMMARY_RSS_TYPE_BLOGS_LIST ) {
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
// get the summary_items_per_page from config
$config =& Config::getConfig();
Modified: plog/trunk/class/summary/action/summarysearchaction.class.php
===================================================================
--- plog/trunk/class/summary/action/summarysearchaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summarysearchaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/dao/summarystatsconstants.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystatsconstants.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
class SummarySearchAction extends SummaryAction
{
@@ -29,9 +29,9 @@
*/
function perform()
{
- include_once( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
$tf = new Textfilter();
$this->_searchTerms = $tf->filterAllHTML( $this->_request->getValue( "searchTerms" ));
Modified: plog/trunk/class/summary/action/summarysendresetemail.class.php
===================================================================
--- plog/trunk/class/summary/action/summarysendresetemail.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summarysendresetemail.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summarymessageview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/data/summarytools.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarymessageview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/data/summarytools.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* sends an email to reset a password, first checking whether the username
Modified: plog/trunk/class/summary/action/summarysetnewpassword.class.php
===================================================================
--- plog/trunk/class/summary/action/summarysetnewpassword.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summarysetnewpassword.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/data/summarytools.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/data/summarytools.class.php" );
/**
* verifys that the request to reset the password is ok and if so, shows the form where the user
Modified: plog/trunk/class/summary/action/summaryshowresetpasswordform.class.php
===================================================================
--- plog/trunk/class/summary/action/summaryshowresetpasswordform.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summaryshowresetpasswordform.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
/**
Modified: plog/trunk/class/summary/action/summaryupdatepassword.class.php
===================================================================
--- plog/trunk/class/summary/action/summaryupdatepassword.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/summaryupdatepassword.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/data/summarytools.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/passwordvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/data/summarytools.class.php" );
class SummaryUpdatePassword extends SummaryAction
{
Modified: plog/trunk/class/summary/action/userlistaction.class.php
===================================================================
--- plog/trunk/class/summary/action/userlistaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/userlistaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryuserlistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryuserlistview.class.php" );
/**
* shows a list with all the users, pager included
Modified: plog/trunk/class/summary/action/userprofileaction.class.php
===================================================================
--- plog/trunk/class/summary/action/userprofileaction.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/action/userprofileaction.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/action/summaryaction.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
/**
* shows a user profile
@@ -35,7 +35,7 @@
}
// load the classes that we are going to need
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
// load some information about the user
$users = new Users();
Modified: plog/trunk/class/summary/controller/registrationcontroller.class.php
===================================================================
--- plog/trunk/class/summary/controller/registrationcontroller.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/controller/registrationcontroller.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/controller/sequentialcontroller.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/controller/sequentialcontroller.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* \ingroup Controller
Modified: plog/trunk/class/summary/controller/summarycontroller.class.php
===================================================================
--- plog/trunk/class/summary/controller/summarycontroller.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/controller/summarycontroller.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/controller/controller.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/controller/controller.class.php" );
/**
* \ingroup Controller
Modified: plog/trunk/class/summary/dao/summarystats.class.php
===================================================================
--- plog/trunk/class/summary/dao/summarystats.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/dao/summarystats.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/model.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/dao/summarystatsconstants.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystatsconstants.class.php" );
/**
* This class implements a few methods that can be used to obtain the list of most recent blogs, posts, commets,
@@ -45,8 +45,8 @@
*/
function getMostCommentedArticles( $maxPosts = 0 )
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
$articles = new Articles();
$maxPosts > 0 ? $max = $maxPosts : $max = $this->_summaryPageShowMax;
@@ -91,7 +91,7 @@
*/
function getMostReadArticles( $maxPosts = 0 )
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$prefix = $this->getPrefix();
$articles = new Articles();
@@ -136,7 +136,7 @@
*/
function getRecentBlogs( $maxBlogs = 0 )
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$query = "SELECT *
FROM ".$this->getPrefix()."blogs
WHERE status = ".BLOG_STATUS_ACTIVE."
@@ -176,7 +176,7 @@
*/
function getMostActiveBlogs( $maxBlogs = 0 )
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$prefix = $this->getPrefix();
$query = "SELECT COUNT(a.id) as t, SUM((num_reads / (TO_DAYS(NOW()) - TO_DAYS(a.date) + 1)) ) as rank, b.*
@@ -222,7 +222,7 @@
*/
function getRecentArticles( $globaArticleCategoryId = ALL_GLOBAL_ARTICLE_CATEGORIES, $maxPosts = 0 )
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$prefix = $this->getPrefix();
@@ -273,7 +273,7 @@
$page = -1,
$itemsPerPage = SUMMARY_DEFAULT_ITEMS_PER_PAGE )
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$prefix = $this->getPrefix();
@@ -310,7 +310,7 @@
function getNumRecentPostsByGlobalCategory( $globaArticleCategoryId = ALL_GLOBAL_ARTICLE_CATEGORIES )
{
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$prefix = $this->getPrefix();
@@ -342,7 +342,7 @@
function getNow()
{
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
$time = new Timestamp();
$now = $time->getTimestamp();
@@ -352,7 +352,7 @@
function getStartTime( $duration )
{
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
$time = new Timestamp();
$time->subtractSeconds( $duration * 24 * 60 * 60 );
Modified: plog/trunk/class/summary/data/summarytools.class.php
===================================================================
--- plog/trunk/class/summary/data/summarytools.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/data/summarytools.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/mail/emailmessage.class.php" );
- include_once( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/mail/emailmessage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
class SummaryTools
{
@@ -53,7 +53,7 @@
function verifyRequest( $userNameHash, $requestHash )
{
// make sure that the request is correct
- include_once( PLOG_CLASS_PATH."class/database/db.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
$users = new Users();
$db =& Db::getDb();
Modified: plog/trunk/class/summary/data/validator/customsummarypagevalidator.class.php
===================================================================
--- plog/trunk/class/summary/data/validator/customsummarypagevalidator.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/data/validator/customsummarypagevalidator.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/filteredwordsrule.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/filteredwordsrule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
/**
* custom summary page validator that does:
Modified: plog/trunk/class/summary/mail/confirmemailmessage.class.php
===================================================================
--- plog/trunk/class/summary/mail/confirmemailmessage.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/mail/confirmemailmessage.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
-include_once(PLOG_CLASS_PATH.'class/mail/emailmessage.class.php');
-include_once(PLOG_CLASS_PATH.'class/locale/locales.class.php');
-include_once(PLOG_CLASS_PATH.'class/template/templateservice.class.php');
+lt_include(PLOG_CLASS_PATH.'class/mail/emailmessage.class.php');
+lt_include(PLOG_CLASS_PATH.'class/locale/locales.class.php');
+lt_include(PLOG_CLASS_PATH.'class/template/templateservice.class.php');
define( "CONFIRM_MAIL_TEMPLATE", "email_confirm" );
Modified: plog/trunk/class/summary/mail/summarymailer.class.php
===================================================================
--- plog/trunk/class/summary/mail/summarymailer.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/mail/summarymailer.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -10,10 +10,10 @@
*/
function sendConfirmationEmail( $userName )
{
- include_once( PLOG_CLASS_PATH."class/summary/mail/confirmemailmessage.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/mail/confirmemailmessage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
$activeCode = SummaryMailer::generateActiveCode();
Modified: plog/trunk/class/summary/view/blogtemplatechooserview.class.php
===================================================================
--- plog/trunk/class/summary/view/blogtemplatechooserview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/blogtemplatechooserview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
/**
* shows the final view of the registration process where users get to choose
Modified: plog/trunk/class/summary/view/doblogregistrationview.class.php
===================================================================
--- plog/trunk/class/summary/view/doblogregistrationview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/doblogregistrationview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
/**
* shows a list with all the locales so that users can choose, too
Modified: plog/trunk/class/summary/view/summarybloglistview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarybloglistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/summarybloglistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
/**
* shows a paged list of blogs
Modified: plog/trunk/class/summary/view/summarycachedview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarycachedview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/summarycachedview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
/**
* This class should extended SmartyView but SmartyView was designed to work with BlogInfo
@@ -27,13 +27,13 @@
function generateTemplate()
{
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
$templateService = new TemplateService();
$this->_template = $templateService->customTemplate( $this->_templateName, "summary", true );
// set the summary custom time
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
// set the summary cache lifetime, or zero if none
$summaryTemplateLifetime = $config->getValue( "summary_template_cache_lifetime", 0 );
@@ -86,7 +86,7 @@
function sendUncachedOutput()
{
- include_once( PLOG_CLASS_PATH."class/xml/rssparser/rssparser.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/xml/rssparser/rssparser.class.php" );
$config =& Config::getConfig();
$baseurl = $config->getValue( "base_url" );
@@ -118,8 +118,8 @@
function render()
{
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
// set the view character set based on the default locale
$this->_getLocale();
@@ -130,7 +130,7 @@
// check if support for conditional HTTP requests is enabled
$config =& Config::getConfig();
if( $config->getValue( "template_http_cache_enabled" )) {
- include_once( PLOG_CLASS_PATH."class/net/http/httpcache.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpcache.class.php" );
// some debug information
$timestamp = $this->_template->getCreationTimestamp();
// and now send the correct headers
Modified: plog/trunk/class/summary/view/summarymessageview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarymessageview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/summarymessageview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
/**
* shows a feedback (or error) message
Modified: plog/trunk/class/summary/view/summarypostlistview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarypostlistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/summarypostlistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
/**
* shows a paged list of blogs
@@ -88,7 +88,7 @@
$this->setValue( "step", $step );
// we just need a random blog so... we'll get one :)
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$randomBlog = array_pop( $blogs->getAllBlogs( BLOG_STATUS_ACTIVE, ALL_BLOG_CATEGORIES, "", 1, 1) );
$url = $randomBlog->getBlogRequestGenerator();
Modified: plog/trunk/class/summary/view/summaryrssview.class.php
===================================================================
--- plog/trunk/class/summary/view/summaryrssview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/summaryrssview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
class SummaryRssView extends SummaryCachedView
{
@@ -37,7 +37,7 @@
$this->_template->compile_dir = $templateTmpFolder;
// set the summary custom time
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
// set the summary cache lifetime, or zero if none
$summaryTemplateLifetime = $config->getValue( "summary_template_cache_lifetime", 0 );
Modified: plog/trunk/class/summary/view/summaryusercreationview.class.php
===================================================================
--- plog/trunk/class/summary/view/summaryusercreationview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/summaryusercreationview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,5 +1,5 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
class SummaryUserCreationView extends SummaryView
{
@@ -14,7 +14,7 @@
// check whether we should also display one of those authentication images
if( $config->getValue( "use_captcha_auth" )) {
// generate a file with the captcha class
- include_once( PLOG_CLASS_PATH."class/data/captcha/captcha.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/captcha/captcha.class.php" );
$captcha = new Captcha();
$captchaFile = $captcha->generate();
// and then build a full url based on it...
Modified: plog/trunk/class/summary/view/summaryuserlistview.class.php
===================================================================
--- plog/trunk/class/summary/view/summaryuserlistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/summaryuserlistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summarycachedview.class.php" );
/**
* shows a paged list of users
@@ -26,10 +26,10 @@
return true;
}
- include_once( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
// items per page
$config =& Config::getConfig();
Modified: plog/trunk/class/summary/view/summaryview.class.php
===================================================================
--- plog/trunk/class/summary/view/summaryview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/summaryview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
class SummaryView extends View
{
Modified: plog/trunk/class/summary/view/summaryxmlview.class.php
===================================================================
--- plog/trunk/class/summary/view/summaryxmlview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/summary/view/summaryxmlview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/template/cachecontrol.class.php
===================================================================
--- plog/trunk/class/template/cachecontrol.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/cachecontrol.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -18,7 +18,7 @@
function resetAllCaches()
{
// get a list of all the blogs
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$siteBlogs = $blogs->getAllBlogIds();
@@ -54,7 +54,7 @@
return true;
// if not then continue...
- include_once( PLOG_CLASS_PATH."class/template/cachedtemplate.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/cachedtemplate.class.php" );
$t = new CachedTemplate( null );
$tmpFolder = $config->getValue( "temp_folder" );
$summaryTmpFolder = $tmpFolder."/summary";
Modified: plog/trunk/class/template/cachedtemplate.class.php
===================================================================
--- plog/trunk/class/template/cachedtemplate.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/cachedtemplate.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/template/template.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/template.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* \ingroup Template
Modified: plog/trunk/class/template/menu/menu.class.php
===================================================================
--- plog/trunk/class/template/menu/menu.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/menu/menu.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/xml/tree/Tree.php" );
- include_once( PLOG_CLASS_PATH."class/template/menu/menuentry.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/xml/tree/Tree.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/menu/menuentry.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
define( "DEFAULT_MENU_FILE", "/admin/menus.xml" );
Modified: plog/trunk/class/template/menu/menuentry.class.php
===================================================================
--- plog/trunk/class/template/menu/menuentry.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/menu/menuentry.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/xml/tree/Node.php" );
+ lt_include( PLOG_CLASS_PATH."class/xml/tree/Node.php" );
/**
* \ingroup Template
Modified: plog/trunk/class/template/menu/menurenderer.class.php
===================================================================
--- plog/trunk/class/template/menu/menurenderer.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/menu/menurenderer.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/menu/menuentry.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/menu/menuentry.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
/**
* \ingroup Template
Modified: plog/trunk/class/template/template.class.php
===================================================================
--- plog/trunk/class/template/template.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/template.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -16,8 +16,8 @@
* @see MenuRenderer
*/
- include_once( PLOG_CLASS_PATH.'class/template/smarty/Smarty.class.php' );
- include_once( PLOG_CLASS_PATH.'class/config/config.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/smarty/Smarty.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/config/config.class.php' );
// Smarty dynamic block function
function smarty_block_dynamic($param, $content, &$smarty) {
@@ -58,7 +58,7 @@
{
// initialize logging
// :TODO: we need define a global logging switch like logging_enabled
- // include_once( PLOG_CLASS_PATH.'class/logger/loggermanager.class.php' );
+ // lt_include( PLOG_CLASS_PATH.'class/logger/loggermanager.class.php' );
// $this->log =& LoggerManager::getLogger( "default" );
// create the Smarty object and set the security values
Modified: plog/trunk/class/template/templatesandbox.class.php
===================================================================
--- plog/trunk/class/template/templatesandbox.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/templatesandbox.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/config/config.class.php' );
- include_once( PLOG_CLASS_PATH.'class/data/validator/templatesetvalidator.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/config/config.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/validator/templatesetvalidator.class.php' );
define( 'TEMPLATE_SANDBOX_ERROR_UNPACKING', -100 );
define( 'TEMPLATE_SANDBOX_ERROR_FORBIDDEN_EXTENSIONS', -101 );
@@ -46,7 +46,7 @@
return true;
// otherwise, turn the thing into an array and go through all of them
- include_once( PLOG_CLASS_PATH.'class/misc/glob.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/misc/glob.class.php' );
foreach( explode( " ", $forbiddenFilesStr ) as $file ) {
$files = Glob::myGlob( $folder, $file );
if( count($files) > 0 )
Modified: plog/trunk/class/template/templateservice.class.php
===================================================================
--- plog/trunk/class/template/templateservice.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/templateservice.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/config/config.class.php' );
- include_once( PLOG_CLASS_PATH.'class/file/file.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/config/config.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/file/file.class.php' );
/**
* default permissions used to create temporary template folders. Seems like
@@ -65,7 +65,7 @@
*/
function Template( $templateName, $layout, $blogInfo = null )
{
- include_once( PLOG_CLASS_PATH . 'class/template/template.class.php' );
+ lt_include( PLOG_CLASS_PATH . 'class/template/template.class.php' );
// get some information about the folder where the template is and the template file
$templateInfo = $this->_getTemplateFileInfo( $templateName, $layout, $blogInfo );
@@ -102,7 +102,7 @@
*/
function customTemplate( $templateName, $layout, $cached = false )
{
- include_once( PLOG_CLASS_PATH.'class/template/cachedtemplate.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/cachedtemplate.class.php' );
// get a nice Template object
$config =& Config::getConfig();
@@ -139,7 +139,7 @@
*/
function AdminTemplate( $templateName, $blogInfo = null )
{
- include_once( PLOG_CLASS_PATH.'class/template/templatesets/templatesetstorage.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatesetstorage.class.php' );
$t = $this->Template( $templateName, 'admin', $blogInfo );
$t->assign( 'admintemplatepath', TemplateSetStorage::getAdminTemplateFolder());
@@ -163,7 +163,7 @@
*/
function CachedTemplate( $templateName, $layout, $blogInfo = null )
{
- include_once( PLOG_CLASS_PATH.'class/template/cachedtemplate.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/cachedtemplate.class.php' );
// get some information about the folder where the template is and the template file
$templateInfo = $this->_getTemplateFileInfo( $templateName, $layout, $blogInfo );
@@ -192,7 +192,7 @@
*/
function _getTemplateFileInfo( $templateName, $layout, $blogInfo )
{
- include_once( PLOG_CLASS_PATH.'class/template/templatesets/templatesetstorage.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatesetstorage.class.php' );
// build the file name
if( $blogInfo == null ) {
@@ -240,7 +240,7 @@
function PluginTemplate( $pluginId, $templateName, $blogInfo = null )
{
require_once( PLOG_CLASS_PATH . 'class/template/templatesets/templatesetstorage.class.php' );
- include_once( PLOG_CLASS_PATH . 'class/template/template.class.php' );
+ lt_include( PLOG_CLASS_PATH . 'class/template/template.class.php' );
// define the template file name
$templateFolder = TemplateSetStorage::getPluginTemplateFolder( $pluginId );
@@ -271,7 +271,7 @@
*/
function PluginCachedTemplate( $pluginId, $templateName, $blogInfo = null )
{
- include_once( PLOG_CLASS_PATH.'class/template/cachedtemplate.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/cachedtemplate.class.php' );
// define the template file name
$templateFolder = TemplateSetStorage::getPluginTemplateFolder( $pluginId );
Modified: plog/trunk/class/template/templatesets/templatefinder.class.php
===================================================================
--- plog/trunk/class/template/templatesets/templatefinder.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/templatesets/templatefinder.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/file/finder/filefinder.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/templatesets/templatesetstorage.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/templatesets/templatesets.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/file/finder/filefinder.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatesetstorage.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatesets.class.php' );
/**
* \ingroup Template
Modified: plog/trunk/class/template/templatesets/templateset.class.php
===================================================================
--- plog/trunk/class/template/templatesets/templateset.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/templatesets/templateset.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
define( "TEMPLATE_SET_GLOBAL", 1 );
define( "TEMPLATE_SET_BLOG_SPECIFIC", 2 );
Modified: plog/trunk/class/template/templatesets/templatesets.class.php
===================================================================
--- plog/trunk/class/template/templatesets/templatesets.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/templatesets/templatesets.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templateset.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templateset.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
/**
* \ingroup Template
@@ -101,7 +101,7 @@
*/
function getBlogTemplates( $blogId )
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blogInfo = $blogs->getBlogInfo( $blogId );
$blogSettings = $blogInfo->getSettings();
@@ -183,7 +183,7 @@
*/
function isBlogTemplate( $templateName, $blogId )
{
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
$blogs = new Blogs();
$blog = $blogs->getBlogInfo( $blogId );
$blogSettings = $blog->getSettings( $blogId );
Modified: plog/trunk/class/template/templatesets/templatesetstorage.class.php
===================================================================
--- plog/trunk/class/template/templatesets/templatesetstorage.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/templatesets/templatesetstorage.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/misc/glob.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/glob.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
define( "BLOG_BASE_TEMPLATE_FOLDER", "blog_" );
Modified: plog/trunk/class/template/templateutils.class.php
===================================================================
--- plog/trunk/class/template/templateutils.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/template/templateutils.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpvars.class.php" );
/**
* @deprecated
Modified: plog/trunk/class/test/PHPUnit/GUI/SetupDecorator.php
===================================================================
--- plog/trunk/class/test/PHPUnit/GUI/SetupDecorator.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/PHPUnit/GUI/SetupDecorator.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -126,7 +126,7 @@
asort($files);
foreach ($files as $className => $aFile) {
- include_once($aFile);
+ lt_include($aFile);
if (class_exists($className)) {
$suites[] =& new PHPUnit_TestSuite($className);
Modified: plog/trunk/class/test/PHPUnit/TestCase.php
===================================================================
--- plog/trunk/class/test/PHPUnit/TestCase.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/PHPUnit/TestCase.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -48,7 +48,7 @@
require_once PHPUNIT_CLASS_PATH.'PHPUnit/Assert.php';
require_once PHPUNIT_CLASS_PATH.'PHPUnit/TestResult.php';
-//include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypeassert.class.php" );
+//lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypeassert.class.php" );
/**
* A TestCase defines the fixture to run multiple tests.
Modified: plog/trunk/class/test/helpers/htmlreporter.class.php
===================================================================
--- plog/trunk/class/test/helpers/htmlreporter.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/helpers/htmlreporter.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/PHPUnit/TestResult.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/PHPUnit/TestResult.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/helpers/lifetypetestcase.class.php
===================================================================
--- plog/trunk/class/test/helpers/lifetypetestcase.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/helpers/lifetypetestcase.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/PHPUnit/TestCase.php");
- include_once( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/PHPUnit/TestCase.php");
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/helpers/testtools.class.php
===================================================================
--- plog/trunk/class/test/helpers/testtools.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/helpers/testtools.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/testrunner.class.php
===================================================================
--- plog/trunk/class/test/testrunner.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/testrunner.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -13,9 +13,9 @@
* is not included in final releases as it is only meaningful for developers)
*/
- include_once( PLOG_CLASS_PATH."class/misc/glob.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
- include_once( PLOG_CLASS_PATH."class/test/PHPUnit.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/glob.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/PHPUnit.php" );
/**
* base folder where all test cases are located
@@ -98,7 +98,7 @@
if( $suite == "all" || $suite == $className || $suite == str_replace( "_test", "", $className )) {
// add the current suite only if we're either loading them all or if
// the current one is the one we want to load
- include_once( $file );
+ lt_include( $file );
// and create an instance of it
$this->suite->addTestSuite( $className );
}
@@ -124,7 +124,7 @@
//$suites[] = str_replace( "_test.class.php", "", basename( $file ));
// load the class file and create a new instance
- include_once( $file );
+ lt_include( $file );
$className = str_replace( ".class.php", "", basename( $file ));
$instance = new $className();
Modified: plog/trunk/class/test/tests/config/configdbstorage_test.class.php
===================================================================
--- plog/trunk/class/test/tests/config/configdbstorage_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/config/configdbstorage_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/configdbstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/configdbstorage.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/config/configfilestorage_test.class.php
===================================================================
--- plog/trunk/class/test/tests/config/configfilestorage_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/config/configfilestorage_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
/**
* \ingroup Test
@@ -18,7 +18,7 @@
*/
function setUp()
{
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
@@ -53,7 +53,7 @@
*/
function tearDown()
{
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
File::delete( $this->file1 );
}
@@ -62,7 +62,7 @@
*/
function createFile( $file, $data )
{
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
$file = new File( $file );
$writable = $file->open( 'w' );
if ($writable) {
@@ -122,7 +122,7 @@
*/
function testSaveValue()
{
- include_once( PLOG_CLASS_PATH."class/file/file.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
// open and load the file
$cf = new ConfigFileStorage( Array( "file" => $this->file1 ));
Modified: plog/trunk/class/test/tests/dao/article_test.class.php
===================================================================
--- plog/trunk/class/test/tests/dao/article_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/dao/article_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/dao/bloginfo_test.class.php
===================================================================
--- plog/trunk/class/test/tests/dao/bloginfo_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/dao/bloginfo_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
/**
* \ingroup Test
@@ -37,7 +37,7 @@
*/
function testSetBlogNoHtmlAllowed()
{
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
$blogNameHtml = "<h1>This is</h1>some <script type=\"text/javascript\">window.alert('hello!');</script>HTML!";
$blog = new BlogInfo( "blah", 1, "blah blah", new BlogSettings());
Modified: plog/trunk/class/test/tests/dao/blogs_test.class.php
===================================================================
--- plog/trunk/class/test/tests/dao/blogs_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/dao/blogs_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/dao/permissions_test.class.php
===================================================================
--- plog/trunk/class/test/tests/dao/permissions_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/dao/permissions_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/permission.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/permission.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/dao/searchengine_test.class.php
===================================================================
--- plog/trunk/class/test/tests/dao/searchengine_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/dao/searchengine_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/test/helpers/testtools.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/testtools.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/searchengine.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/data/textfilter_test.class.php
===================================================================
--- plog/trunk/class/test/tests/data/textfilter_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/data/textfilter_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/data/validator/emailvalidator_test.class.php
===================================================================
--- plog/trunk/class/test/tests/data/validator/emailvalidator_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/data/validator/emailvalidator_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/emailvalidator.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/data/validator/integervalidator_test.class.php
===================================================================
--- plog/trunk/class/test/tests/data/validator/integervalidator_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/data/validator/integervalidator_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/data/validator/rules/stringrangerule_test.class.php
===================================================================
--- plog/trunk/class/test/tests/data/validator/rules/stringrangerule_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/data/validator/rules/stringrangerule_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/rules/stringrangerule.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/rules/stringrangerule.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/data/validator/usernamevalidator_test.class.php
===================================================================
--- plog/trunk/class/test/tests/data/validator/usernamevalidator_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/data/validator/usernamevalidator_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
/**
* \ingroup Test
@@ -38,7 +38,7 @@
function testForbiddenUsername()
{
// get the list of forbidden words, based on our configuration settings
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$forbiddenUsernames = $config->getValue( "forbidden_usernames" );
Modified: plog/trunk/class/test/tests/extra/sqlinjection_test.class.php
===================================================================
--- plog/trunk/class/test/tests/extra/sqlinjection_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/extra/sqlinjection_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/file/unpacker/zipunpacker_test.class.php
===================================================================
--- plog/trunk/class/test/tests/file/unpacker/zipunpacker_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/file/unpacker/zipunpacker_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/file/unpacker/zipunpacker.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/file/unpacker/zipunpacker.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
define( "PCLZIP_TEST_FILE", PLOG_CLASS_PATH."class/test/tests/file/unpacker/pclziptest.zip" );
Modified: plog/trunk/class/test/tests/mail/emailservice_test.class.php
===================================================================
--- plog/trunk/class/test/tests/mail/emailservice_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/mail/emailservice_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/mail/emailservice.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/mail/phpmailer/phpmailer_test.class.php
===================================================================
--- plog/trunk/class/test/tests/mail/phpmailer/phpmailer_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/mail/phpmailer/phpmailer_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -4,8 +4,8 @@
Type: phpmailer class
********************/
-include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
-include_once( PLOG_CLASS_PATH."class/mail/phpmailer/class.phpmailer.php" );
+lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+lt_include( PLOG_CLASS_PATH."class/mail/phpmailer/class.phpmailer.php" );
/**
* these were not part of the original test suite but had to be added to avoid plenty of issues with files,
Modified: plog/trunk/class/test/tests/net/http/httpclient_test.class.php
===================================================================
--- plog/trunk/class/test/tests/net/http/httpclient_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/net/http/httpclient_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/net/url_test.class.php
===================================================================
--- plog/trunk/class/test/tests/net/url_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/net/url_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/url.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/url.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php
===================================================================
--- plog/trunk/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,18 +1,18 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/xmlrpc/IXR_Library.lib.php" );
- include_once( PLOG_CLASS_PATH."class/net/url.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/xmlrpc/IXR_Library.lib.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/url.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
/**
* Unit test cases for xmlrpc.php
Modified: plog/trunk/class/test/tests/summary/action/summaryaction_test.class.php
===================================================================
--- plog/trunk/class/test/tests/summary/action/summaryaction_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/summary/action/summaryaction_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
/**
* \ingroup Test
@@ -19,7 +19,7 @@
*/
function testLanguageChangeViaLangParameterInRequest()
{
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
$config =& Config::getConfig();
$url = $config->getValue( "base_url" )."/summary.php";
Modified: plog/trunk/class/test/tests/summary/dao/summarystats_test.class.php
===================================================================
--- plog/trunk/class/test/tests/summary/dao/summarystats_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/summary/dao/summarystats_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,16 +1,16 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/article.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/article.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/bloginfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategory.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
/**
* Unit test cases for the SummaryStats class
Modified: plog/trunk/class/test/tests/summary/data/summarytools_test.class.php
===================================================================
--- plog/trunk/class/test/tests/summary/data/summarytools_test.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/test/tests/summary/data/summarytools_test.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/summary/data/summarytools.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userinfo.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/summary/data/summarytools.class.php" );
/**
* \ingroup Test
Modified: plog/trunk/class/view/admin/adminadduserview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminadduserview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminadduserview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/view/admin/admintemplatedview.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/blogs.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/userstatus.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/admin/admintemplatedview.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/blogs.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/userstatus.class.php' );
/**
Modified: plog/trunk/class/view/admin/adminarticlecategorieslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminarticlecategorieslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminarticlecategorieslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminarticlecommentslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminarticlecommentslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminarticlecommentslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminarticlereferrersview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminarticlereferrersview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminarticlereferrersview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/referers.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/referers.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminarticletrackbackslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminarticletrackbackslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminarticletrackbackslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminarticlecommentslistview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminblogcategorieslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminblogcategorieslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminblogcategorieslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminblogsettingsview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminblogsettingsview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminblogsettingsview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminblogtemplatechooserview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminblogtemplatechooserview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminblogtemplatechooserview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminblogtemplatesetslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminblogtemplatesetslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminblogtemplatesetslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminbloguserslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminbloguserslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminbloguserslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/admincreateblogview.class.php
===================================================================
--- plog/trunk/class/view/admin/admincreateblogview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admincreateblogview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/admincustomfieldslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/admincustomfieldslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admincustomfieldslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/admindashboardview.class.php
===================================================================
--- plog/trunk/class/view/admin/admindashboardview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admindashboardview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,13 +1,13 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/menu/menurenderer.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
-// include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/menu/menurenderer.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecomments.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+// lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
/**
* maximum number of recent items that we will show in the statistics
Modified: plog/trunk/class/view/admin/admindefaultview.class.php
===================================================================
--- plog/trunk/class/view/admin/admindefaultview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admindefaultview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -5,11 +5,11 @@
*/
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/template.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/misc/version.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/template.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/misc/version.class.php" );
// name of the template we are going to use for this view
define( "DEFAULTADMIN_TEMPLATE", "default" );
Modified: plog/trunk/class/view/admin/admineditlinkview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditlinkview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admineditlinkview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/admineditpostview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditpostview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admineditpostview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/adminnewpostview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewpostview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/admineditresourcealbumview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditresourcealbumview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admineditresourcealbumview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/admineditresourceview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditresourceview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admineditresourceview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/admineditsiteblogview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditsiteblogview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admineditsiteblogview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/view/admin/admintemplatedview.class.php' );
- include_once( PLOG_CLASS_PATH.'class/locale/locales.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/templatesets/templatesets.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/blogstatus.class.php' );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/view/admin/admintemplatedview.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/locale/locales.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatesets.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/blogstatus.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/admineditsiteuserview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditsiteuserview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admineditsiteuserview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/view/admin/admintemplatedview.class.php' );
- include_once( PLOG_CLASS_PATH.'class/view/admin/adminerrorview.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/users.class.php' );
- include_once( PLOG_CLASS_PATH.'class/dao/userstatus.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/admin/admintemplatedview.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/admin/adminerrorview.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/users.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/userstatus.class.php' );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminerrorview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminerrorview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminerrorview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminglobalarticlecategorieslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminglobalarticlecategorieslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminglobalarticlecategorieslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -6,9 +6,9 @@
* Changed from original article category.
*/
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminglobalsettingslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminglobalsettingslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminglobalsettingslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
define( "ADMINISTRATOR_BLOG", 1 );
Modified: plog/trunk/class/view/admin/adminlinkcategorieslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminlinkcategorieslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminlinkcategorieslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminlinkslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminlinkslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminlinkslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminloginview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminloginview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminloginview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/template.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/template.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
define( "ADMINLOGIN_TEMPLATE", "chooseblog" );
Modified: plog/trunk/class/view/admin/adminmessageview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminmessageview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminmessageview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminnewalbumview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminnewalbumview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminnewalbumview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminnewglobalarticlecategoryview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminnewglobalarticlecategoryview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminnewglobalarticlecategoryview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminnewlinkview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminnewlinkview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminnewlinkview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
/**
Modified: plog/trunk/class/view/admin/adminnewpostview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminnewpostview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminnewpostview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,12 +1,12 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/globalarticlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminnewresourceview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminnewresourceview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminnewresourceview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
/**
* \ingroup View
* @private
Modified: plog/trunk/class/view/admin/adminpermissionslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminpermissionslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminpermissionslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/permissions.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminplugintemplatedview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminplugintemplatedview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminplugintemplatedview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/view/admin/adminview.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/templateservice.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/admin/adminview.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templateservice.class.php' );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminpostslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminpostslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminpostslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,14 +1,14 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/siteconfig.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articlestatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/siteconfig.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminreferrersview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminreferrersview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminreferrersview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/referers.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/referers.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
/**
* shows a list of the referrers collected by this site
Modified: plog/trunk/class/view/admin/adminregisterblogview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminregisterblogview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminregisterblogview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
- include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
- include_once( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/subdomains.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" );
class AdminRegisterBlogView extends View
{
Modified: plog/trunk/class/view/admin/adminresourcealbumslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminresourcealbumslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminresourcealbumslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
/**
* \ingroup View
* @private
Modified: plog/trunk/class/view/admin/adminresourceslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminresourceslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminresourceslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,10 +1,10 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcequotas.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcequotas.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
define( "ROOT_ALBUM_ID", 0 );
Modified: plog/trunk/class/view/admin/adminsimpleerrorview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminsimpleerrorview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminsimpleerrorview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
define( "ADMINSIMPLEERROR_TEMPLATE", "simpleerror" );
Modified: plog/trunk/class/view/admin/adminsimplemessageview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminsimplemessageview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminsimplemessageview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
define( "ADMINSIMPLEMESSAGE_TEMPLATE", "simplemessage" );
Modified: plog/trunk/class/view/admin/adminsiteblogslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminsiteblogslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminsiteblogslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminsitelocaleslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminsitelocaleslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminsitelocaleslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
-
- /**
- * \ingroup View
- * @private
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+
+ /**
+ * \ingroup View
+ * @private
*/
class AdminSiteLocalesListView extends AdminTemplatedView
{
Modified: plog/trunk/class/view/admin/adminsitetemplateslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminsitetemplateslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminsitetemplateslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,11 +1,11 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
-
- /**
- * \ingroup View
- * @private
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+
+ /**
+ * \ingroup View
+ * @private
*/
class AdminSiteTemplatesListView extends AdminTemplatedView
{
Modified: plog/trunk/class/view/admin/adminsiteuserslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminsiteuserslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminsiteuserslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/admintemplatedview.class.php
===================================================================
--- plog/trunk/class/view/admin/admintemplatedview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/admintemplatedview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/adminview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminview.class.php" );
/**
Modified: plog/trunk/class/view/admin/adminuserprofileview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminuserprofileview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminuserprofileview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/adminview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/view/view.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/templateservice.class.php' );
- include_once( PLOG_CLASS_PATH.'class/net/requestgenerator.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/view.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templateservice.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/net/requestgenerator.class.php' );
/**
* \ingroup View
@@ -86,8 +86,8 @@
*/
function render()
{
- include_once( PLOG_CLASS_PATH.'class/template/menu/menu.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/menu/menurenderer.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/menu/menu.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/menu/menurenderer.class.php' );
// set a few common parametres...
$config =& Config::getConfig();
Modified: plog/trunk/class/view/admin/adminxmlview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminxmlview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/adminxmlview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/adminview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/chooser/adminblogchooserview.class.php
===================================================================
--- plog/trunk/class/view/admin/chooser/adminblogchooserview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/chooser/adminblogchooserview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/data/stringutils.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/chooser/adminuserchooserview.class.php
===================================================================
--- plog/trunk/class/view/admin/chooser/adminuserchooserview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/chooser/adminuserchooserview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/admin/chooser/adminuserpictureselectview.class.php
===================================================================
--- plog/trunk/class/view/admin/chooser/adminuserpictureselectview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/admin/chooser/adminuserpictureselectview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
- include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresource.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/blogtemplatedview.class.php
===================================================================
--- plog/trunk/class/view/blogtemplatedview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/blogtemplatedview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/blogview.class.php
===================================================================
--- plog/trunk/class/view/blogview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/blogview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/view/smartyview.class.php' );
- include_once( PLOG_CLASS_PATH.'class/plugin/pluginmanager.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/smartyview.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/plugin/pluginmanager.class.php' );
/**
* default date format used for the archive links
@@ -45,7 +45,7 @@
*/
function generateCalendar( $year = null, $month = null )
{
- include_once( PLOG_CLASS_PATH.'class/data/plogcalendar.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/plogcalendar.class.php' );
$monthPosts = $this->getValue( 'monthposts' );
$locale = $this->_blogInfo->getLocale();
@@ -75,10 +75,10 @@
*/
function _getArchives()
{
- include_once( PLOG_CLASS_PATH.'class/dao/archivelink.class.php' );
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/archivelink.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$articles = new Articles();
$archiveStats = $articles->getNumberPostsPerMonth( $this->_blogInfo->getId());
@@ -118,8 +118,8 @@
*/
function _getRecentPosts()
{
- include_once( PLOG_CLASS_PATH.'class/dao/recentarticles.class.php' );
- include_once( PLOG_CLASS_PATH."class/config/siteconfig.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/dao/recentarticles.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/config/siteconfig.class.php" );
$blogSettings = $this->_blogInfo->getSettings();
@@ -141,7 +141,7 @@
*/
function _getMonthPosts()
{
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
$t = new Timestamp();
$blogSettings = $this->_blogInfo->getSettings();
@@ -149,7 +149,7 @@
$month = $this->getValue( 'Month' );
$year = $this->getValue( 'Year' );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$articles = new Articles();
return( $articles->getDaysWithPosts( $this->_blogInfo->getId(), $year, $month ));
}
@@ -161,7 +161,7 @@
*/
function _getLinkCategories()
{
- include_once( PLOG_CLASS_PATH.'class/dao/mylinkscategories.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/mylinkscategories.class.php' );
$blogSettings = $this->_blogInfo->getSettings();
$linkCategoriesOrder = $blogSettings->getValue( 'link_categories_order', MYLINKS_CATEGORIES_NO_ORDER );
@@ -217,10 +217,10 @@
function render()
{
if( !$this->isCached() ) {
- include_once( PLOG_CLASS_PATH.'class/data/plogcalendar.class.php' );
- include_once( PLOG_CLASS_PATH.'class/misc/version.class.php' );
- include_once( PLOG_CLASS_PATH.'class/xml/rssparser/rssparser.class.php' );
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/plogcalendar.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/misc/version.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/xml/rssparser/rssparser.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
// and then add our stuff to the view...
$this->setValue( 'archives', $this->_getArchives());
Modified: plog/trunk/class/view/defaultview.class.php
===================================================================
--- plog/trunk/class/view/defaultview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/defaultview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
define( "MAIN_TEMPLATE", "main" );
@@ -35,7 +35,7 @@
$posts = $this->_params->getValue( 'posts' );
$locale = $this->_blogInfo->getLocale();
- //include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ //lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
//$textFilter = new TextFilter();
$modifPosts = Array();
$rg = $this->_blogInfo->getBlogRequestGenerator();
Modified: plog/trunk/class/view/errorview.class.php
===================================================================
--- plog/trunk/class/view/errorview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/errorview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
- include_once( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
define( "ERROR_TEMPLATE", "error" );
Modified: plog/trunk/class/view/plugintemplatedview.class.php
===================================================================
--- plog/trunk/class/view/plugintemplatedview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/plugintemplatedview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,9 +1,9 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/resourceserverview.class.php
===================================================================
--- plog/trunk/class/view/resourceserverview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/resourceserverview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/view/view.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/view.class.php' );
// the three different modes that a resource can be requested
define( 'RESOURCE_VIEW_MODE_DEFAULT', '' );
@@ -87,7 +87,7 @@
$cacheLifetime = $config->getValue( 'resource_server_http_cache_lifetime', DEFAULT_HTTP_CACHE_LIFETIME );
// check if we have to resent the data and if not, then we're done!
- include_once( PLOG_CLASS_PATH.'class/net/http/httpcache.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/net/http/httpcache.class.php' );
if( HttpCache::httpConditional( $lastModified, $cacheLifetime ))
exit();
}
Modified: plog/trunk/class/view/rssview.class.php
===================================================================
--- plog/trunk/class/view/rssview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/rssview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
/**
* default profile used if none specified
Modified: plog/trunk/class/view/smartyview.class.php
===================================================================
--- plog/trunk/class/view/smartyview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/smartyview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH.'class/view/view.class.php' );
- include_once( PLOG_CLASS_PATH.'class/template/templateservice.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/view/view.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templateservice.class.php' );
/**
* different smarty cache modes that we can use
@@ -74,7 +74,7 @@
$this->_templateSetName = $config->getValue( "default_template" );
$this->_blogInfo->setTemplate( $this->_templateSetName );
- include_once( PLOG_CLASS_PATH.'class/dao/blogs.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/dao/blogs.class.php' );
$blogs = new Blogs();
$blogs->updateBlog( $this->_blogInfo );
}
@@ -127,7 +127,7 @@
*/
function isTemplateSetExist( $templateSetName )
{
- include_once( PLOG_CLASS_PATH.'class/template/templatesets/templatesets.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/template/templatesets/templatesets.class.php' );
$templateSets = new TemplateSets();
if( !$templateSets->isTemplate( $templateSetName ) && !$templateSets->isBlogTemplate( $templateSetName, $this->_blogInfo->getId() ) )
return false;
@@ -235,7 +235,7 @@
$timestamp = $this->_template->getCreationTimestamp();
// and now send the correct headers
- include_once( PLOG_CLASS_PATH.'class/net/http/httpcache.class.php' );
+ lt_include( PLOG_CLASS_PATH.'class/net/http/httpcache.class.php' );
if( HttpCache::httpConditional( $timestamp, $this->getCacheTimeSeconds()))
$sendOutput = false;
Modified: plog/trunk/class/view/templateview.class.php
===================================================================
--- plog/trunk/class/view/templateview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/templateview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/trackbackview.class.php
===================================================================
--- plog/trunk/class/view/trackbackview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/trackbackview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,8 +1,8 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
- include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/view.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
/**
* \ingroup View
Modified: plog/trunk/class/view/view.class.php
===================================================================
--- plog/trunk/class/view/view.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/view.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -16,7 +16,7 @@
*/
- include_once( PLOG_CLASS_PATH."class/config/properties.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/config/properties.class.php" );
/**
* constants that can be used for content types
@@ -294,7 +294,7 @@
*/
function getCurrentPageFromRequest()
{
- include_once( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php");
+ lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php");
// get the value from the request
$page = HttpVars::getRequestValue( VIEW_DEFAULT_PAGE_PARAMETER );
// but first of all, validate it
@@ -316,7 +316,7 @@
*/
function render()
{
- include_once( PLOG_CLASS_PATH."class/net/http/phpsniff/phpSniff.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/net/http/phpsniff/phpSniff.class.php" );
// send the headers we've been assigned if any, alognside the conten-type header
foreach( $this->_headers as $header )
Modified: plog/trunk/class/view/viewarticleview.class.php
===================================================================
--- plog/trunk/class/view/viewarticleview.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/view/viewarticleview.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,6 +1,6 @@
<?php
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
define( "VIEW_ARTICLE_TEMPLATE", "postandcomments" );
Modified: plog/trunk/class/xml/rssparser/rssitem.class.php
===================================================================
--- plog/trunk/class/xml/rssparser/rssitem.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/xml/rssparser/rssitem.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -1,7 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/xml/rssparser/rssenclosure.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/xml/rssparser/rssenclosure.class.php" );
/**
* \ingroup XML
Modified: plog/trunk/class/xml/rssparser/rssparser.class.php
===================================================================
--- plog/trunk/class/xml/rssparser/rssparser.class.php 2006-10-04 14:24:56 UTC (rev 4085)
+++ plog/trunk/class/xml/rssparser/rssparser.class.php 2006-10-04 19:48:52 UTC (rev 4086)
@@ -55,12 +55,12 @@
*/
function parse( $rssFeed )
{
- include_once( PLOG_CLASS_PATH."class/xml/rssparser/rsschannel.class.php" );
- include_once( PLOG_CLASS_PATH."class/xml/rssparser/magpierss/rss_fetch.inc" );
- include_once( PLOG_CLASS_PATH."class/xml/rssparser/magpierss/rss_cache.inc" );
- include_once( PLOG_CLASS_PATH."class/xml/rssparser/magpierss/rss_parse.inc" );
- include_once( PLOG_CLASS_PATH."class/xml/rssparser/magpierss/rss_utils.inc" );
- include_once( PLOG_CLASS_PATH."class/xml/rssparser/rssitem.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/xml/rssparser/rsschannel.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/xml/rssparser/magpierss/rss_fetch.inc" );
+ lt_include( PLOG_CLASS_PATH."class/xml/rssparser/magpierss/rss_cache.inc" );
+ lt_include( PLOG_CLASS_PATH."class/xml/rssparser/magpierss/rss_parse.inc" );
+ lt_include( PLOG_CLASS_PATH."class/xml/rssparser/magpierss/rss_utils.inc" );
+ lt_include( PLOG_CLASS_PATH."class/xml/rssparser/rssitem.class.php" );
$rss = fetch_rss( $rssFeed );
More information about the pLog-svn
mailing list