diff options
author | robocoder <anthon.pang@gmail.com> | 2010-04-24 10:02:35 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-04-24 10:02:35 +0400 |
commit | 63a4254ca8f6bea0189e82c8890bdcbcbeeb3fba (patch) | |
tree | 3758571c220b5026710c41d4254af4bd40d45724 /libs/Zend/Validate/Int.php | |
parent | 20a13ff27eb085592d61dc1d50490a8e838183ee (diff) |
fixes #1312
- index.php, piwik.php - no longer set include path
- libs/Zend - comment out require_once per http://www.zendframework.com/manual/e
n/performance.classloading.html
- libs/Zend - comment out some redundant Zend_Loader::loadClass() calls
- libs/HTML - use absolute include paths
- libs/open-flash-chart/php-ofc-library - use absolute include paths
git-svn-id: http://dev.piwik.org/svn/trunk@2118 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/Zend/Validate/Int.php')
-rw-r--r-- | libs/Zend/Validate/Int.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/Zend/Validate/Int.php b/libs/Zend/Validate/Int.php index 4c14f25e47..89fa168627 100644 --- a/libs/Zend/Validate/Int.php +++ b/libs/Zend/Validate/Int.php @@ -22,12 +22,12 @@ /** * @see Zend_Validate_Abstract */ -require_once 'Zend/Validate/Abstract.php'; +// require_once 'Zend/Validate/Abstract.php'; /** * @see Zend_Locale_Format */ -require_once 'Zend/Locale/Format.php'; +// require_once 'Zend/Locale/Format.php'; /** * @category Zend @@ -70,7 +70,7 @@ class Zend_Validate_Int extends Zend_Validate_Abstract } if (empty($locale)) { - require_once 'Zend/Registry.php'; + // require_once 'Zend/Registry.php'; if (Zend_Registry::isRegistered('Zend_Locale')) { $locale = Zend_Registry::get('Zend_Locale'); } @@ -96,7 +96,7 @@ class Zend_Validate_Int extends Zend_Validate_Abstract */ public function setLocale($locale = null) { - require_once 'Zend/Locale.php'; + // require_once 'Zend/Locale.php'; $this->_locale = Zend_Locale::findLocale($locale); return $this; } |