Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added htaccess_changed() method

  • Loading branch information...
commit 88e74717b6c1c9b6b70473c7b630c0150c749709 1 parent d12a2a5
@mryand mryand authored natepixel committed
Showing with 10 additions and 0 deletions.
  1. +10 −0 reason_4.0/lib/core/classes/url_manager.php
View
10 reason_4.0/lib/core/classes/url_manager.php
@@ -99,6 +99,11 @@ class url_manager
*/
var $_ok_to_run = false;
+ /**
+ * @var boolean
+ */
+ protected $_htaccess_changed = false;
+
function url_manager( $site_id, $debug = false, $do_global_rewrites = false ) // {{{
{
$this->debug = $debug;
@@ -358,6 +363,7 @@ function update_rewrites() // {{{
{
$this->debug( 'test file diff from current, testing and copying' );
$this->_test_and_copy();
+ $this->_htaccess_changed = true;
}
else
{
@@ -439,6 +445,10 @@ function make_site_valid($report = true) // {{{
}
}
} // }}}
+ function htaccess_changed()
+ {
+ return $this->_htaccess_changed;
+ }
function _test_and_copy() // {{{
{
if( filesize( $this->test_file ) > 0 )
Please sign in to comment.
Something went wrong with that request. Please try again.