Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit bd695e7

Browse files
committedApr 17, 2012
class_exists('Zend_Application') was moved
1 parent e3c2966 commit bd695e7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎index.php

+1-7
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,7 @@
4646
// . PATH_SEPARATOR . get_include_path() // commented to fix open_basedir restriction. See Zend_Loader::isReadable()
4747
);
4848

49-
50-
@include_once 'Axis/Application.php';
51-
if (!class_exists('Zend_Application')) {
52-
echo 'Please, copy Zend Framework to the "library" folder: '
53-
. realpath('library');
54-
exit();
55-
}
49+
include_once 'Axis/Application.php';
5650

5751
defined('APPLICATION_ENV')
5852
|| define('APPLICATION_ENV',

‎library/Axis/Application.php

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
*/
2929
@include_once 'Zend/Application.php';
3030

31+
if (!class_exists('Zend_Application')) {
32+
echo 'Please, copy Zend Framework to the "library" folder: '
33+
. realpath('library');
34+
exit();
35+
}
36+
3137
/**
3238
*
3339
* @uses Zend_Application

0 commit comments

Comments
 (0)
This repository has been archived.