1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Help config file

Discussion in 'Plugin Help' started by ced23, Jan 10, 2019.

  1. ced23

    ced23 Spider Jockey

    Messages:
    30
    GitHub:
    Ced2300
    Hi, how can i check if a config file
    already exists or not?
    Thanks!
     
  2. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    PHP:
    if(file_exists('path/to/file')){
    //exists
    }
     
  3. ced23

    ced23 Spider Jockey

    Messages:
    30
    GitHub:
    Ced2300
    Thanks!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.