Permalink
Browse files

Minor code cleanup on PathInfo

  • Loading branch information...
1 parent 52c9d0b commit 137e908d0b6920f4996c2d4b10b7ac8136092af7 @mikeho mikeho committed Jul 18, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 includes/qcodo/_core/framework/QApplicationBase.class.php
@@ -827,9 +827,9 @@ public static function CheckRemoteAdmin() {
* @return mixed
*/
public static function PathInfo($intIndex = null) {
- $strPathInfo = QApplication::$PathInfo;
-
+ // Lookup PathInfoArray from cache, or create it into cache if it doesn't yet exist
if (!isset(self::$arrPathInfo)) {
+ $strPathInfo = QApplication::$PathInfo;
self::$arrPathInfo = array();
if ($strPathInfo != '' ) {

0 comments on commit 137e908

Please sign in to comment.