"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "index.php" between
Open-Web-Analytics-1.6.9.tar.gz and Open-Web-Analytics-1.7.0.tar.gz

About: Open Web Analytics (OWA) is web analytics software to track and analyze how people use your web sites and applications.

index.php  (Open-Web-Analytics-1.6.9):index.php  (Open-Web-Analytics-1.7.0)
skipping to change at line 20 skipping to change at line 20
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
// $Id$ // $Id$
// //
require_once('owa_env.php'); require_once('owa_env.php');
require_once(OWA_DIR.'owa_php.php'); require_once(OWA_DIR.'owa.php');
/** /**
* Main Admin Page Wrapper Script * Main Admin Page Wrapper Script
* *
* @author Peter Adams <peter@openwebanalytics.com> * @author Peter Adams <peter@openwebanalytics.com>
* @copyright Copyright &copy; 2006 Peter Adams <peter@openwebanalytics.com> * @copyright Copyright &copy; 2006 Peter Adams <peter@openwebanalytics.com>
* @license http://www.gnu.org/copyleft/gpl.html GPL v2.0 * @license http://www.gnu.org/copyleft/gpl.html GPL v2.0
* @category owa * @category owa
* @package owa * @package owa
* @version $Revision$ * @version $Revision$
* @since owa 1.0.0 * @since owa 1.0.0
*/ */
// Initialize owa admin // Initialize owa admin
$owa = new owa_php; $owa = new owa;
if (!$owa->isOwaInstalled()) { if (!$owa->isOwaInstalled()) {
// redirect to install // redirect to install
owa_lib::redirectBrowser(owa_coreAPI::getSetting('base','public_url').'insta ll.php'); owa_lib::redirectBrowser(owa_coreAPI::getSetting('base','public_url').'insta ll.php');
} }
if ( $owa->isEndpointEnabled( basename( __FILE__ ) ) ) { if ( $owa->isEndpointEnabled( basename( __FILE__ ) ) ) {
// run controller or view and echo page content // run controller or view and echo page content
echo $owa->handleRequestFromURL(); echo $owa->handleRequestFromURL();
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)