Changeset 228

Show
Ignore:
Timestamp:
02/23/08 17:00:15 (5 years ago)
Author:
d0nut
Message:

public seo update - better include guard

Location:
publicseorewriter
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • publicseorewriter/files/lib/page/PublicSEORewriter.class.php

    r206 r228  
    1515 
    1616// does wcf seo util exist ? 
    17 if(!file_exists(WCF_DIR.'lib/data/page/seo/SEOUtil.class.php')) { 
     17if(file_exists(WCF_DIR.'lib/data/page/seo/SEOUtil.class.php')) { 
     18        require_once(WCF_DIR.'lib/data/page/seo/SEOUtil.class.php'); 
     19} 
     20// otherwise create a new class 
     21 else { 
    1822        class SEOUtil { 
    1923                public static function formatString($string) { 
     
    177181         
    178182        /** 
     183         * resolves a thread url to its threadID 
     184         * @param       string          $url 
    179185         * 
     186         * @return      integer 
    180187         */ 
    181188        public function thread2threadID($url) { 
  • publicseorewriter/package.xml

    r206 r228  
    66                <packageDescription><![CDATA[Public Interfaces for the SEO Tool]]></packageDescription> 
    77                <packageDescription languagecode="de"><![CDATA[Öffentliche Schnittstellen fÃŒr das SEO Tool]]></packageDescription> 
    8                 <version>1.1.6</version> 
     8                <version>1.1.7</version> 
    99                <date>DATE</date> 
    1010                <plugin>com.woltlab.wcf.data.page</plugin> 
     
    2222 
    2323        <instructions type="install"> 
     24                <files>files.tar</files> 
     25        </instructions> 
     26         
     27        <instructions type="update" fromversion="1.1.6"> 
    2428                <files>files.tar</files> 
    2529        </instructions>