Do not add the root namsepace if not needed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4644 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<?php
|
||||
/** DomFramework
|
||||
@package domframework
|
||||
@author Dominique Fournier <dominique@fournier38.fr> */
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
*/
|
||||
|
||||
require_once ("domframework/output.php");
|
||||
/** Display in HTML the data provided, with the layout support */
|
||||
@@ -99,7 +100,7 @@ EOT;
|
||||
//echo $resView;exit;
|
||||
// Manage the timestamp/md5sum for the external files managed by this
|
||||
// server.
|
||||
$dom = new DOMDocument ();
|
||||
$dom = new \DOMDocument ();
|
||||
@$dom->loadHTML ($resView);
|
||||
foreach (array ("script"=>"src", "link"=>"href", "img"=>"src")
|
||||
as $key=>$val)
|
||||
|
||||
Reference in New Issue
Block a user