Incorrect variable name used for parameter.
[moodle-linuxchix.git] / mod / wiki / ewiki / fragments / binary.php
blob3df902d048cc9cc1ab3d972ffdd5b997d821e4e9
1 <?php
3 # if you cannot manage to include() the core "ewiki.php" library
4 # before any plain <HTML> output is made inside "yoursite.php", you
5 # could use such a lib wrapper beside yoursites/index.php
7 # it is also useful, if you want to keep binary data in a separate
8 # database, say a db_flat_files one - because you can then set this up
9 # herein without any affect to yoursites/ewiki.php
12 # remember to define() inside ewiki.php or yoursite.php:
13 define("EWIKI_SCRIPT_BINARY", "binary.php?binary=");
16 #-- that's all:
17 mysql_connect("localhost", "DBUSER", "DBPASSWORD");
18 mysql_query("use DATABASENAME");
20 include("ewiki.php");