Mercurial > hg > fapweb
diff createdb.php @ 175:8df523e6326a
User require_once instead of require.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 06 Nov 2013 10:27:57 +0200 |
parents | dffededcdd92 |
children | e227e6a3d46b |
line wrap: on
line diff
--- a/createdb.php Wed Nov 06 10:21:11 2013 +0200 +++ b/createdb.php Wed Nov 06 10:27:57 2013 +0200 @@ -1,7 +1,7 @@ #!/usr/bin/php <? -require "mconfig.inc.php"; -require "msite.inc.php"; +require_once "mconfig.inc.php"; +require_once "msite.inc.php"; // Check if we are running from commandline or not if (php_sapi_name() != "cli" || !empty($_SERVER["REMOTE_ADDR"]))