Make WordPress Core


Ignore:
Timestamp:
07/05/2006 10:00:03 PM (18 years ago)
Author:
ryan
Message:

Use wp_die(). Props filosofo. fixes #2914

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/greymatter.php

    r3661 r3985  
    8888
    8989        if (!chdir($archivespath))
    90             die("Wrong path, $archivespath\ndoesn't exist\non the server");
     90            wp_die("Wrong path, $archivespath\ndoesn't exist\non the server");
    9191
    9292        if (!chdir($gmpath))
    93             die("Wrong path, $gmpath\ndoesn't exist\non the server");
     93            wp_die("Wrong path, $gmpath\ndoesn't exist\non the server");
    9494           
    9595        $this->header();
Note: See TracChangeset for help on using the changeset viewer.