Posts: 5
	Threads: 1
	Joined: Dec 2011
	
Reputation: 
0
	 
	
		
		
		12-02-2011, 03:25 PM 
(This post was last modified: 12-02-2011, 03:27 PM by itsu.)
		
	 
	
		Hi
I tested with Ver. 3.2.1 and It's data dir stopped at 31998.
Are ther any way to increase maximum document number?
I edit maxDirID in the setting config. But It desn't work. 
	
	
	
	
	
 
 
	
	
	
		
	Posts: 5
	Threads: 1
	Joined: Dec 2011
	
Reputation: 
0
	 
	
		
		
		12-05-2011, 10:06 AM 
(This post was last modified: 12-05-2011, 10:20 AM by itsu.)
		
	 
	
		Hi Uwe 
Thanks for your reply.
Are ther any way to extend max documents without changing my file system?
Just making different directory?
	
	
	
	
	
 
 
	
	
	
		
	Posts: 5
	Threads: 1
	Joined: Dec 2011
	
Reputation: 
0
	 
	
	
		Hi Uwe 
Thanks.
I hope you to support more than 31998 in the short term.
>I have to check first how to solve this without breaking to much.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 5
	Threads: 1
	Joined: Dec 2011
	
Reputation: 
0
	 
	
	
		Hi Uwe
I had to input more than 32000.
So I changed getpath() and getDir() in inc.ClassDocument.php like followings.
This support more than 20000*31998 documents. 
but supporting lots of document, I also had to change ViewFolder.php.
//	function getPath() { return $this->_document->getID() .'/'. $this->_version . $this->_fileType; }
	function getPath() { return $this->_document->getDir() .'/'. $this->_version . $this->_fileType; }
	function getDir() { /* {{{ */
		if($this->_id > 20000){
			$dirid = (int)( $this->_id / 20000 ) + 1; 
		}else{
			$dirid = 1;
		}
		return $dirid."/".$this->_id."/";
	} /* }}} */