Changeset 15032

Show
Ignore:
Timestamp:
02/16/08 14:52:57 (10 months ago)
Author:
solt
Message:

Fixed check for existing manifet in cache

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/support/add_manifest2cache.php

    r15018 r15032  
    7878    echo "Injecting component {$component} into manifests cache\n\n"; 
    7979 
    80     $manifest_data = file_get_contents($filename); 
    81     if (strstr($cache_code,$component)) 
     80    if (strstr($cache_code,$filename)) 
    8281    { 
    8382        echo "Component {$component} already in manifests cache\n\n"; 
     
    8584    } 
    8685 
     86    $manifest_data = file_get_contents($filename); 
    8787    $cache_code .= "\n\$_MIDCOM->componentloader->load_manifest( 
    8888                    new midcom_core_manifest(