[Wikis-SVN] SF.net SVN: wikis:[300] tshome/php/trunk
Brought to you by:
hydria
|
From: <hy...@us...> - 2011-06-04 09:45:28
|
Revision: 300
http://wikis.svn.sourceforge.net/wikis/?rev=300&view=rev
Author: hydria
Date: 2011-06-04 09:45:22 +0000 (Sat, 04 Jun 2011)
Log Message:
-----------
Adding lost files
Added Paths:
-----------
tshome/php/trunk/LocalSettings.php
tshome/php/trunk/includes/
tshome/php/trunk/includes/.htaccess
tshome/php/trunk/includes/DefaultSettings.php
tshome/php/trunk/includes/loader.php
tshome/php/trunk/index.php
tshome/php/trunk/phpinfo.php
Added: tshome/php/trunk/LocalSettings.php
===================================================================
--- tshome/php/trunk/LocalSettings.php (rev 0)
+++ tshome/php/trunk/LocalSettings.php 2011-06-04 09:45:22 UTC (rev 300)
@@ -0,0 +1,15 @@
+<?php
+
+/*
+
+ LocalSettings.php file, where all the different configurations
+ can be made at. Please only edit this file and not anything
+ else, unless you know what you are doing!
+
+*/
+
+// Initialise installation directory
+$IP = dirname( __FILE__ );
+
+// Define what message to appear when the site is accessed
+$hyMessage = "Hello world!";
Added: tshome/php/trunk/includes/.htaccess
===================================================================
--- tshome/php/trunk/includes/.htaccess (rev 0)
+++ tshome/php/trunk/includes/.htaccess 2011-06-04 09:45:22 UTC (rev 300)
@@ -0,0 +1 @@
+Deny from all
Added: tshome/php/trunk/includes/DefaultSettings.php
===================================================================
--- tshome/php/trunk/includes/DefaultSettings.php (rev 0)
+++ tshome/php/trunk/includes/DefaultSettings.php 2011-06-04 09:45:22 UTC (rev 300)
@@ -0,0 +1,16 @@
+<?php
+
+/*
+ PLEASE DO NOT EDIT THIS FILE
+ Please edit LocalSettings.php located in the
+ main directory instead to overwrite the
+ configuration found here.
+ Configuration done here will be overwritten
+ in the next upgrade!
+*/
+
+// Hytools version number
+$hyVersion = "1.2";
+
+// Message to appear when visiting the site
+$hyMessage = "Hello world!";
Added: tshome/php/trunk/includes/loader.php
===================================================================
--- tshome/php/trunk/includes/loader.php (rev 0)
+++ tshome/php/trunk/includes/loader.php 2011-06-04 09:45:22 UTC (rev 300)
@@ -0,0 +1,12 @@
+<?php
+
+/*
+ File to load the necessary files for display
+ when a user accesses the site
+*/
+
+// Load DefaultSettings.php first to get necessary config
+require_once("./DefaultSettings.php");
+
+// Load LocalSettings.php to get overwritten config
+require_once("../LocalSettings.php");
Added: tshome/php/trunk/index.php
===================================================================
--- tshome/php/trunk/index.php (rev 0)
+++ tshome/php/trunk/index.php 2011-06-04 09:45:22 UTC (rev 300)
@@ -0,0 +1,18 @@
+<?php
+
+/*
+
+ This is the main page that will be accessed
+ when the site is first loaded. If you are
+ viewing this file from your web browser, it
+ means that your server is not properly
+ configured to run PHP scripts!
+
+*/
+
+// Initialise the loader file
+require_once("./includes/loader.php");
+
+echo $hyMessage;
+
+?>
Added: tshome/php/trunk/phpinfo.php
===================================================================
--- tshome/php/trunk/phpinfo.php (rev 0)
+++ tshome/php/trunk/phpinfo.php 2011-06-04 09:45:22 UTC (rev 300)
@@ -0,0 +1,5 @@
+<?php
+
+phpinfo();
+
+?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|