Diff of /mambo/branches/4.6/administrator/includes/admin.php
Parent Directory
|
Revision Log
|
Patch
| revision 151, Thu Jan 19 14:24:56 2006 UTC | revision 186, Thu Jan 26 11:51:01 2006 UTC | |
|---|---|---|
| # | Line 78 | Line 78 |
| 78 | if ($this->mosinstall) { | if ($this->mosinstall) { |
| 79 | $container = $this->opentags[0]; | $container = $this->opentags[0]; |
| 80 | if (!isset($this->accept[$container]) OR !is_array($this->accept[$container])) trigger_error ("XML error $container is not a valid containing element"); | if (!isset($this->accept[$container]) OR !is_array($this->accept[$container])) trigger_error ("XML error $container is not a valid containing element"); |
| 81 | if (!in_array($element_name, $this->accept[$container])) trigger_error ("XML error $element_name not permitted within $container"); | if (!in_array($element_name, $this->accept[$container])) trigger_error ("XML error in ".$this->xmlfile." $element_name not permitted within $container"); |
| 82 | } | } |
| 83 | if ($this->mosinstall OR $element_name == 'MOSINSTALL') { | if ($this->mosinstall OR $element_name == 'MOSINSTALL') { |
| 84 | $this->opencount = array_unshift ($this->opentags, $element_name); | $this->opencount = array_unshift ($this->opentags, $element_name); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

