Csv(); } } class MySloozeCtCsv extends SloozeCtCsv { var $csvClass = "MyCsv"; /* type of csv file data store */ /* public: constructor, call parent constructor */ function MySloozeCtCsv() { $this->SloozeCtCsv(); } } /* -------- * To store data in an RDBMS use slooze_ct_sql and whichever db_*.inc * is applicable for your particular database. Uncomment as required. * Get the db_*.inc files from PHPLib - http://phplib.netuse.de/ */ //require("slooze_ct_sql.php"); //require("db_mysql.inc"); /* uncomment exactly one of these db_*.inc files */ //require("db_msql.inc"); //require("db_mssql.inc"); //require("db_oci8.inc"); //require("db_odbc.inc"); //require("db_oracle.inc"); //require("db_pgsql.inc"); //require("db_sybase.inc"); //require("db_usql.inc"); //class MyDB_Sql extends DB_Sql { // var $Host = "localhost"; // var $Database = "slooze"; // var $User = ""; // var $Password = ""; // /* public: constructor, call parent constructor */ // function MyDB_Sql($query = "") { // $this->DB_Sql($query); // } //} //class MySloozeCtSql extends SloozeCtSql { // var $sqlClass = "MyDB_Sql"; /* type of RDBMS data store */ // /* public: constructor, call parent constructor */ // function MySloozeCtSql() { // $this->SloozeCtSql(); // } //} /* -------- * Always include slooze * Uncomment the $ctClass line below that applies to you * Uncomment other lines to customise */ require("slooze.php"); class MySlooze extends Slooze { // var $admin = FALSE; /* enable full admin mode */ // var $enableComments = TRUE; /* enable user addition of comments */ // var $enableRatings = TRUE; /* enable user rating of pictures */ // var $enableViews = TRUE; /* enable counting how many times a picture has been viewed */ // var $enableNav = TRUE; /* enable First|Prev|Next|Last navigation */ // var $enableCache = FALSE; /* enable caching of pages for speed */ // var $allPathsLower = FALSE; /* make all image paths lower-case, no matter their recorded case */ // var $showCommentIPs = FALSE; /* put IP of commenter before comment */ // var $ownIPSubstring = "192.168.1."; /* don't count picture views coming from this address substring */ // var $sortThreshold = 5; /* number of pics in topic before sorting offered */ // var $basePath = "./"; /* path to photos directory */ // var $cachePath = "./cache/"; /* path to cache directory */ // var $baseURL = "./"; /* URL of photos directory */ // var $actionURL = ""; /* URL for further actions */ // var $picture_suffix = ".jpg"; /* filename suffix for pictures */ // var $thumb_suffix = "-t.jpg"; /* filename suffix for thumbnails */ // var $nl = "\r\n"; /* newline sequence */ var $ctClass = "MySloozeCtCsv"; /* store data in text files */ //var $ctClass = "MySloozeCtSql"; /* store data in RDBMS */ /* public: constructor, call parent constructor */ function MySlooze() { $this->Slooze(); } } ?>