svn: /phpdoc/doc-base/trunk/scripts/iniupdate/ ini-update.php

From: Date: Wed, 11 Jan 2012 07:33:46 +0000
Subject: svn: /phpdoc/doc-base/trunk/scripts/iniupdate/ ini-update.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9404@lists.php.net to get a copy of this message
vrana Wed, 11 Jan 2012 07:33:46 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=322059 Log: Split big file Changed paths: U phpdoc/doc-base/trunk/scripts/iniupdate/ini-update.php Modified: phpdoc/doc-base/trunk/scripts/iniupdate/ini-update.php =================================================================== --- phpdoc/doc-base/trunk/scripts/iniupdate/ini-update.php 2012-01-11 07:28:53 UTC (rev 322058) +++ phpdoc/doc-base/trunk/scripts/iniupdate/ini-update.php 2012-01-11 07:33:46 UTC (rev 322059) @@ -111,7 +111,7 @@ $link_files = array(); $ini_files = glob("$phpdoc_dir/en/reference/*/ini.xml"); $ini_files[] = "$phpdoc_dir/en/features/safe-mode.xml"; -$ini_files[] = "$phpdoc_dir/en/appendices/ini.xml"; +$ini_files[] = "$phpdoc_dir/en/appendices/ini.core.xml"; foreach ($ini_files as $filename) { @@ -209,12 +209,12 @@ /* Now write the final result */ -$file = file_get_contents("$phpdoc_dir/en/appendices/ini.xml"); +$file = file_get_contents("$phpdoc_dir/en/appendices/ini.list.xml"); $pos = strpos($file, '<tbody>', strpos($file, '<title>Configuration options</title>')) + strlen('<tbody>'); $pos2 = strpos($file, '</tbody>', $pos); -file_put_contents("$phpdoc_dir/en/appendices/ini.xml", substr($file, 0, $pos) . PHP_EOL . $string . ' ' . substr($file, $pos2)); +file_put_contents("$phpdoc_dir/en/appendices/ini.list.xml", substr($file, 0, $pos) . PHP_EOL . $string . ' ' . substr($file, $pos2)); echo "\n\nWrote the main table\n";

« previous php.doc.cvs (#9404) next »