Skip to content
This repository
Browse code

added htaccess_changed() method

  • Loading branch information...
commit 88e74717b6c1c9b6b70473c7b630c0150c749709 1 parent d12a2a5
Matt Ryan authored natepixel committed
10  reason_4.0/lib/core/classes/url_manager.php
@@ -99,6 +99,11 @@ class url_manager
99 99
 		 */
100 100
 		var $_ok_to_run = false;
101 101
 		
  102
+		/**
  103
+		 * @var boolean
  104
+		 */
  105
+		protected $_htaccess_changed = false;
  106
+		
102 107
 		function url_manager( $site_id, $debug = false, $do_global_rewrites = false ) // {{{
103 108
 		{
104 109
 			$this->debug = $debug;
@@ -358,6 +363,7 @@ function update_rewrites() // {{{
358 363
 				{
359 364
 					$this->debug( 'test file diff from current, testing and copying' );
360 365
 					$this->_test_and_copy();
  366
+					$this->_htaccess_changed = true;
361 367
 				}
362 368
 				else
363 369
 				{
@@ -439,6 +445,10 @@ function make_site_valid($report = true) // {{{
439 445
 				}
440 446
 			}
441 447
 		} // }}}
  448
+		function htaccess_changed()
  449
+		{
  450
+			return $this->_htaccess_changed;
  451
+		}
442 452
 		function _test_and_copy() // {{{
443 453
 		{
444 454
 			if( filesize( $this->test_file ) > 0 )

0 notes on commit 88e7471

Please sign in to comment.
Something went wrong with that request. Please try again.