"File Store", //Specify the FULL URL to the "filestore" folder. "SITE_URL"=>"http://yourdomain.com/filestore" ); //Database login info define("DB_NAME", "your_database_name"); define("DB_HOST", "localhost"); define("DB_USER", "your_database_username"); define("DB_PASS", "your_database_password"); //Database table name prefix. DO NOT change it. If you change it, //you must also manually edit the file "dump.sql". define("DB_PREFIX", "fstore_"); //FULL PATH to the "smarty" folder. Path should END WITH a slash. //If you are not sure what the setting is, point your browser to the //"path.php" file in the smarty folder. That is, point to: //http://yourdomain.com/filestore/smarty/path.php define("SMARTYPATH", "/home/your_username/public_html/filestore/smarty/"); //Maximum filesize allowed for file upload. Specify value in BYTES. $upload_config=array( "max_size"=>"5242880", // 1Kb = 1024 ; 1Mb = 1048576 ; 5Mb = 5242880 // File extensions allowed "ext"=>array("jpg", "gif", "png", "txt", "pdf", "htm", "html", "doc", "xls") ); //The Administrator's email address define("ADMIN_EMAIL", "admin@yourdomain.com"); //Location to the "data" file. You do not need to change this. define("UPLOAD_DIR", "data/"); //Admin and Sub-Admin may delete files posted by anybody. //Do you want Users to be able to delete their OWN files? $enable_user_delete = 1; //1 = yes, other = no. //Enable the zip feature? Turn it off if file compression does not work in your //server. This feature will not usually work if you have SAFE MODE turned on. //PHP must be compiled with zlib ('--with-zlib') for this to work too. $enable_zip = 1; // 1 = yes , other = no. // Enable automatic approving on new sign up? // 1 = No need approval. User approved automatically. // 0 = Require approval from Admin or Subadmin. // If you turn ON this feature by setting it to "1", DO NOT forget to run the // "autoapprove_install.php" file after you have built the MySQL tables with // "dump.sql". To run it, simply point to the "autoapprove_install.php" file // with your browser. // If you turn OFF this feature by setting it to "0", it is NOT compulsory to // run the "autoapprove_install.php" file (especially for upgrade installation) // although there is no harm running it. $auto_approve_new_user = 1; //If you turn ON the auto-approve feature above, name your public folder. //We strongly suggest that you leave it as "Public" (default value). $auto_approve_group = 'Public'; //Auto-approve group message $auto_approve_group_message = 'Welcome and enjoy the free file upload and download access.'; //If Users are auto-approved, will they have upload permission by default? $auto_approve_upload= 1; // 1 = yes, 0 = no. // Enable email notification for new user that needs approval // 1 = send it // 0 = don't send $email_notification = 1; // Welcome message in main page when someone login as Admin or Subadmin $welcome_msg = "You logged in as Admin/Subadmin."; //If set to 0, the files uploaded by users will be added directly to the file list. //No approval from Admin or Subadmin required. If require approval, set to 1. //If set to "0", the "Pending" page (the page that lists all files waiting to be approved) //link will not show up on the left menu. define("PUBLIC_APPROVED", 1); //Sorting method. UNCOMMENT ONLY ONE STRING! define("ORDER_FIELD", "dateadd"); //define("ORDER_FIELD", "file_type"); //define("ORDER_FIELD", "descript"); //Ascending or Descending. UNCOMMENT ONLY ONE STRING! //define("ORDERREC", "ASC"); define("ORDERREC", "DESC"); $MAIN_MENU=array( array("text"=>"Main Page", "url"=>"/index.php"), array("text"=>"Free Signup", "url"=>"/signup.php"), array("text"=>"Login", "url"=>"/login.php") ); $CONTROL_MENU=array( array("text"=>"Folders", "url"=>"/main.php"), array("text"=>"Search", "url"=>"/search.php"), array("text"=>"Profile", "url"=>"/profile.php"), array("text"=>"Users", "url"=>"/control/users/index.php") ); $CONTROL_MENU_PF=array( array("text"=>"Folders", "url"=>"/main.php"), array("text"=>"Search", "url"=>"/search.php"), array("text"=>"Profile", "url"=>"/profile.php"), array("text"=>"Users", "url"=>"/control/users/index.php"), array("text"=>"Pending", "url"=>"/pf.php") ); $ADMIN_MENU=array( array("text"=>"Users", "url"=>"/control/users/index.php"), array("text"=>"Groups", "url"=>"/control/groups/index.php"), array("text"=>"Directories", "url"=>"/control/folders/index.php"), array("text"=>"Folders", "url"=>"/main.php"), array("text"=>"Search", "url"=>"/search.php"), array("text"=>"Bulk Email", "url"=>"/bulkemail.php"), // Bulk Mail menu item added by niotech array("text"=>"Settings", "url"=>"/settings.php"), // Settings menu item added by niotech array("text"=>"Logs", "url"=>"/control/logs/index.php") ); $ADMIN_MENU_PF=array( array("text"=>"Users", "url"=>"/control/users/index.php"), array("text"=>"Groups", "url"=>"/control/groups/index.php"), array("text"=>"Directories", "url"=>"/control/folders/index.php"), array("text"=>"Folders", "url"=>"/main.php"), array("text"=>"Search", "url"=>"/search.php"), array("text"=>"Bulk Email", "url"=>"/bulkemail.php"), // Bulk Mail menu item added by niotech array("text"=>"Settings", "url"=>"/settings.php"), // Settings menu item added by niotech array("text"=>"Logs", "url"=>"/control/logs/index.php"), array("text"=>"Pending", "url"=>"/pf.php") ); $USER_MENU=array( array("text"=>"Folders", "url"=>"/main.php"), array("text"=>"Search", "url"=>"/search.php"), array("text"=>"Profile", "url"=>"/profile.php") ); $LOGOUT_MENU=array("text"=>"Logout", "url"=>"/logout.php"); //$LOGOUT_MENU=array("text"=>"Logout", "url"=>"?logoff=1"); //Letter to admin about new user $NEW_USER="New user registered at the site ".$site_config["SITE_URL"]; $NEW_USER.="\n\nLogin: %s\nContact email: %s\n\nYour approval is required."; //Letter to admin about new user $AA_NEW_USER="New user registered at the site ".$site_config["SITE_URL"]; $AA_NEW_USER.="\n\nLogin: %s\nContact email: %s\n\nThe user has been added to the user list automatically.."; //Letter to approved user $APP_USER="Your account at the site ".$site_config["SITE_URL"]." has been accepted."; $APP_USER.="\n\nLogin: %s"; $AA_APP_USER="Thank you for your sign up. Your account has been automatically approved. Please login now."; $AA_APP_USER.="\n\nLogin: %s"; //Letter to admin about new file $NEW_FILE="Newly uploaded file at the site ".$site_config["SITE_URL"]; $NEW_FILE.="\n\nFile Name: %s\nDescription: %s\n"; $NEW_FILE.="File location: ".$site_config["SITE_URL"]."/folder.php?id=%d\n"; //Approve email $APP_FILE="Your file at the site ".$site_config["SITE_URL"]." has been accepted"; $APP_FILE.="\n\nFile Name: %s\nDescription: %s\n"; $PASSWORD_EMAIL="Here is your account login info\n\nLogin\t:%s\nPassword\t:%s"; //Specify the text display of link for the license/version check. //This link will only appear in one page (the main page upon login). define("LINKTEXT", "1"); // 1 – Powered by UPOINT dotINFO // 2 – Licensed by UPOINT dotINFO // 3 – Script by UPOINT dotINFO // 4 – Powered by UPOINT // 5 – Licensed by UPOINT // 6 – Script by UPOINT // 7 – ? UPOINT dotINFO // 8 – Click here to check license validity // 9 – ? Version Check // 10 – Version Info // 11 – ? License Check // 12 – License Info // 13 – ? About // 14 – @1 File Store PRO // 15 – About @1 File Store PRO // 16 – ? Script License // 17 – ? We are against software piracy // 18 – ? We do not use pirated software // 19 – ? License & Version Info // 20 – ? Software Certificate // If other number or blank is specified, “1” will be used by default. // Subscription email notification content // ==================================================== define("SUBSCRIPTION_EMAIL_SUBJECT","New file has been uploaded at ".$site_config["SITE_TITLE"]); define("SUBSCRIPTION_EMAIL_ADDITIONAL_HEADER","The email header here."); define("SUBSCRIPTION_EMAIL_ADDITIONAL_FOOTER","The email footer here."); // By default, it is set to use the Adminstrator's email address above. // To change, replace ADMIN_EMAIL with "mail@yourdomain.com" (with quotation marks). define("SUBSCRIPTION_EMAIL_ADMIN_EMAIL",ADMIN_EMAIL); //Bulk Email Template : Header Text // ==================================================== $BULK_EMAIL_HEADER="This is bulk email text template for header"; // ==================================================== //Bulk Email Template : Footer Text $BULK_EMAIL_FOOTER="This is bulk email text template for footer"; // New Signup: User profile fields. Turn on or off the user input (optional=0,required=1) // Real name, email address, login username and password are required and cannot make optional. // ==================================================== $USER_PROFILE_FIELDS=array( "company"=>0, "address1"=>0, "address2"=>0, "city"=>0, "state"=>0, "postcode"=>0, "country"=>0, "telephone"=>0 // Note that there is no ending comma at this last field. ); ?>